Pages: 1
Topic closed
I want to develp on the already existing scratch game called pong, which can be found in the scratch example games list.
What I want to add to this is to make the pong show (a number e.g. 4 or equation e.g. 2+2 on the ball that changes every time it hits the paddle.
Lastly I want the ball with the number or equation to hit the same numbered block above and make the block disappear if the 2 numbers match. If the numbers don't match the ball should bounce off the block.
I anyone can help me with this issue plz blog your comments.
Much help is apppreciated!
Thankyou
Offline
New Scratchers Inc. is currently making a pong game, maybe you should join.
Offline
So wait, you want the ball to have different costumes on it, and each of these costumes would have a math equation or number on it? Well, if you're doing that maybe you should add a sensing script so that
<if><touching[ block 2 ]>
<switch to costume[ 4 ]>
<end>
Or something of that sort.
Offline
Flait7 wrote:
So wait, you want the ball to have different costumes on it, and each of these costumes would have a math equation or number on it? Well, if you're doing that maybe you should add a sensing script so that
<if><touching[ block 2 ]>
<switch to costume[ 4 ]>
<end>
Or something of that sort.
More like switch to costume costume + 1 or minus or whatever he needs.
Offline
Well, if he wants it to change to a specific costume depending on which block he needs, then he might need an if block for each one of the blocks it could hit, and a specific costume for it to turn to when hitting that block
Offline
thanks for the earlier help, after some tweaking and own methods my game works but i still need to solve one problem.
umm please can you tell me how to make the ball bounce off the block- like if the ball hits the block on any side it will bounce off in the opposite direction.
Im sure its something to do with changing x and y coordinates, but im new to making games and using the controls. plz help its urgent! >.<
Offline
Topic closed
Pages: 1