This site requires JavaScript, please enable it in your browser!
Greenfoot back
Camyh15
Camyh15 wrote ...

2015/8/1

Showing score at the end with counter

Camyh15 Camyh15

2015/8/1

#
How do you make the counter show your score at the end of the game when it says "Game Over" or "You Win!"?
danpost danpost

2015/8/1

#
Camyh15 wrote...
How do you make the counter show your score at the end of the game when it says "Game Over" or "You Win!"?
That depends on how you are creating the text "Game Over" or "You Win!". If using a GameOver world, add a method to it to receive the counter object and have that method change its image as needed and add it to the world. If using a GameOver actor, then have the current world do the necessary adjustments to the image of the counter and move it to a more central location in the world.
You need to login to post a reply.