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

2018/12/31

How to change worlds?

JPEG JPEG

2018/12/31

#
Hiya, so I'm trying to make a game and to start off, you've got to have a homepage. As simple as it is, I'm struggling to make the tranisiton form the homepage to the next page. Can some one please help me with coding so that a new world comes up once 'play' is clicked? Should Play be an actor?
danpost danpost

2018/12/31

#
JPEG wrote...
Hiya, so I'm trying to make a game and to start off, you've got to have a homepage. As simple as it is, I'm struggling to make the tranisiton form the homepage to the next page. Can some one please help me with coding so that a new world comes up once 'play' is clicked? Should Play be an actor?
"play" could be an actor; although, it does not have to be. If the user has other options other than play, then an actor would probably be the appropriate choice. If playing is the only option, then an actor is not necessary. You could transition to the new world when the 'Run' button is clicked in the environment or you could just have any key press or mouse click trigger the transition after 'Run' is clicked.
You need to login to post a reply.