This site requires JavaScript, please enable it in your browser!
Greenfoot_back

What is happening right now?

No_avatar_thumb

reply to Having difficulties with randomly moving objects

By Super_Hippo - about 3 hours ago
The 'resetBoolean' method is needed as you do it. (In my scenario I just set them to 'true' or 'false' every time, but you can also do it like this. The 'changeDirections' method... well, I was thinking of something like this: <Code Omitted> This is not complete, but I hope you will understand what I mean. It is a bit different from what I did, but quite similar.
Fractal_r3800c0s800f10000t0z80x0y0_thumb

reply to Next level if certain coordinates

By danpost - about 4 hours ago
It may be more logical for you to have 'public boolean' methods in the classes of your players to return the state of being at the locations required and have the method in your world class call them.
Fractal_r3800c0s800f10000t0z80x0y0_thumb

reply to Moving Actor with arrow keys

By danpost - about 6 hours ago
What code have you tried?
Fractal_r3800c0s800f10000t0z80x0y0_thumb

reply to jump

By danpost - about 6 hours ago
What code have you tried?