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

2014/12/1

help creating an Endscreen

DesignerOrb362 DesignerOrb362

2014/12/1

#
I am creating a game but i want to add a Gameover/Youwin screen, i want to start with the winners screen, i have created a world class called WinScreen and i want this world to appear after my character collects all items called "mushrooms", after finding all 15 of them I want an endscreen to appear, i don't, however, know the code for this, i know none of the scoreboard method codes and i only know the mouseclick method for changing worlds, if someone could give me the codes and/or explain it to me, that would be appreciated.
danpost danpost

2014/12/1

#
If there are no more mushrooms in the world when the game is won, you can check for none in the world from your world act method and set a new Youwin world active when the condition is met.
DesignerOrb362 DesignerOrb362

2014/12/1

#
what is the method for doing so?
danpost danpost

2014/12/1

#
danpost wrote...
If there are no more mushrooms in the world when the game is won, you can check for none in the world from your world act method and set a new Youwin world active when the condition is met.
I could not have explained it any more clearly.
You need to login to post a reply.