Hi Herman,
Issues like this are probably best talked about on Greenfoot discuss so they don't get muddled with other scenarios :-) If you're getting confused and this doesn't help, probably best to talk about it there instead! I've just tried out the scenario on the latest version of Greenfoot (1.5.4) though and it seems to run fine. I take it you are adding the relevant turtles to the scenario before clicking the run button?
Hmm, the scenario says squares now but the description says rectangles - either would be correct (since squares are a special case of rectangles) but it's probably better to be consistent!
The following worksheet may give you some ideas: http://www.greenfoot.org/greenroom/index.php/Jumping it's not exactly your problem (the problem here is a bit more complicated because you've got two objects that may be moving instead of just one) but the principles are the same and you should be able to apply them here with a few tweaks :-)
You just need to download the source and put the wanderer class in your scenario so it's a superclass of whatever you want to "wander." So if you put it in your project and then do something like:
public class Ball extends Wanderer
and then edit wanderer to extend whatever Ball was previously extending, it should work. (Obviously replace ball with whatever actor it is you want to wander outside the world!)
Ah yus, it appears I was moving the paddle towards the ball when it hit it. If you do some calculations with the movement of the ball and the paddle you should still be able to make it hit it though - and why the holding down enter? Why not have it so the ball always bounces off the paddle? :-)
2009/8/12
OnTheDot
2009/8/11
Blue
2009/8/11
ShiningWorld
2009/8/10
Match 1
2009/8/8
Pong v1.1
2009/8/8
Wanderer Demo
2009/8/7
Pong v1.1
2009/8/5
Bomberman
2009/8/5
Pong v1.1