How do you get the actors to move smoothly off the screen like that? Whenever I try to setX() at a point beyond the screen, they just stay at the sides. I have to remove them but then at the edge of the screen it looks choppy.
The World constructor is:
World(int worldWidth, int worldHeight, int cellSize, boolean bounded)
Just set the bounded to "false", and everything should go smoothly.
The World constructor is:
World(int worldWidth, int worldHeight, int cellSize, boolean bounded)
Just set the bounded to "false", and everything should go smoothly.
Well, my scenario just got a lot smoother..at first my plan was to put a 32 pixel wide border around the edge of the screen, but then I started noticing that some people's scenarios had actors that could move beyond the edge of the world and I was like "wait a second..". Thanks!
A similar problem occurred to me. Somehow I managed to move the camera to the left of the box, and even managed to get the camera so far left that the box wasn't even on the screen anymore. It seems to have to do with horizontal collisions.
Hi guys,
I ran into a bit of a problem. The greenfoot exporter doesn't seem to be working. When I try to download my source here, it shows that not all of the .java files were uploaded to the Gallery.
Hi guys,
I ran into a bit of a problem. The greenfoot exporter doesn't seem to be working. When I try to download my source here, it shows that not all of the .java files were uploaded to the Gallery.
A new version of this scenario was uploaded on Tue Nov 29 04:46:59 UTC 2011
A new version of this scenario was uploaded on Tue Nov 29 04:55:03 UTC 2011
There's a slight glitch with respawning. Whenever you respawn, the screen is a little higher than before, so that the box is below the screen if you die too many times.
2011/11/27
2011/11/27
2011/11/27
2011/11/28
2011/11/28
2011/11/28
2011/11/28
2011/11/28
2011/11/28
2011/11/28
2011/11/28
2011/11/29
2011/11/29
2011/11/29
2011/11/29
2011/12/4