This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-12-03 06:40:02

kellychen
New Scratcher
Registered: 2011-11-27
Posts: 1

Matching game life system

I am doing a card matching game (memory game), I have set one of the variables as lives.
When you match 5 wrong pairs of cards, the game will end.
My problem is:
Because I don't know how many lives the player will use, what do I do if the player still has 1,2,3,4 or 5 lives left? How can I change the background to "You Win" when the player still has 1,2,3,4,of 5 lives left? How can I stop all the sprites/cards?

Offline

 

Board footer