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

2014/1/29

next level click

fhuadie fhuadie

2014/1/29

#
excuse me, i want to next level with click, what the syntax?
bourne bourne

2014/1/29

#
if (Greenfoot.mouseClicked(null))
    nextLevel(); // Where nextLevel() initializes the next level
fhuadie fhuadie

2014/1/29

#
in world?
bourne bourne

2014/1/29

#
I don't know. I have no context of your game... Maybe in the the World's act method where the game state is at the end of a level
fhuadie fhuadie

2014/1/29

#
thank you :) I'll try
You need to login to post a reply.