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

2023/2/8

Edge of the world

Guy68 Guy68

2023/2/8

#
I have a character(man) and 3 wolrds(MyWorld1,MyWorld2,MyWorld3)Once the game is loaded then I am spawning on the world my world 2. I want to do it if I touch the right side of the world it sends me to myworld3 and if I touch the left side to send me to myworld 1.
danpost danpost

2023/2/9

#
Guy68 wrote...
I have a character(man) and 3 wolrds(MyWorld1,MyWorld2,MyWorld3)Once the game is loaded then I am spawning on the world my world 2. I want to do it if I touch the right side of the world it sends me to myworld3 and if I touch the left side to send me to myworld 1.
Maybe looking at my Super Level Support Class scenario codes might help. It would only need an added previousLevel method to complete the complement of level changing methods.
Guy68 Guy68

2023/2/11

#
Thank you! The problem is solved and its working just fine.
You need to login to post a reply.