Collectable card game, is this possible?

Started by DanClarke, Thu 29/04/2004 18:00:19

Previous topic - Next topic

DanClarke

OK, as some of you may have read, i'm hoping to include a collectable card game in my game. The rules would be as follows:

-30 or so cards hidden in the game

-you are not required to collect the cards to finish the game

-you can view the cards you have in some sort of folder/book

-id like to include something whereby if you collect them all and bring them to a certain character, they tell/give/show you something you wouldnt normally see.

I'm a complete newbie to AGS as far as using the software goes (my friend who knows some coding is involved too), but does this sound at all feasible? I was concerned that because the puzzles dont have to be completed to finish the game, the software wouldn't like the idea, but i don't know much about it really.

Thanks in advance

Dan

..

Yes this would be probably quite easy to do.

You could use more than 1 inventory (See this thread)
And then when the player finds a card it adds that to an inventory (the folder/book you wanted).

As for the giving it to somebody.. you could do it the long way:

Conditional If player has inventory 1
Conditional If player has inventory 2
Conditional If player has inventory 3
Conditional If player has inventory 4
Conditional If player has inventory 5
etc...

Theres prob an easier way to do that with scripting but seeings as you asked for a way without scripting that would be it. (Well.. i suppose the multiple inverntories require scripting..

PS. This sounds completely lke the Simpsons Games...
Virtual Springfield and Hit and Run (You give all the cards to the comic book guy and you see a cartoon...)

ElectricMonk

Suggestion: assign a global variable to the number of cards and increase it by 1 every time a card is found. Then when giving it to the special character, just check if that variable equals 30 or not.

As for looking at the cards, a second inventory GUI might be the way to go, but I'm sure far more knowledgeable users than me can tell you more about that.

SMF spam blocked by CleanTalk