Hi, I am new to scratch and want to get into programming. I am trying to create a basic pong game but cant get the ball to ping of the bat correctly. Can anyone help?
http://img207.imageshack.us/img207/1138/pongl.png
Thats the link to a image of the code
Thanks in advance
Danny
Offline
Hi Dstones
Most Pong games can be simple or complicated, but I'll post a few projects you could download and look at in a minute.
Edit:
This one is controlled by the mouse (Might be different than what you want), but the bouncing scripts used are the same. http://scratch.mit.edu/projects/jamie/1518
This may be more or less what you're after . Two lines that the ball bounces off. http://scratch.mit.edu/projects/Rotation/722460
I suggest downloading these projects and maybe a few other Pong-based games and looking at the scripts. This will probably be the easiest way to learn the pong scripts...
Last edited by 06dknibbs (2009-12-04 17:02:12)
Offline
The best way to study a project like that is to tweak it around or take it apart. I'm not good at describing it perfectly, but you can just try and play with it.
Offline