This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-08-23 22:53:45

jebis
New Scratcher
Registered: 2011-08-09
Posts: 9

Need help developing scratch game, much help is sppreciated! ^.^

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

 

#2 2011-08-23 22:58:24

laptop97
Scratcher
Registered: 2011-06-27
Posts: 1000+

Re: Need help developing scratch game, much help is sppreciated! ^.^

New Scratchers Inc. is currently making a pong game, maybe you should join.  smile

Offline

 

#3 2011-08-24 00:49:24

Flait7
Scratcher
Registered: 2008-04-14
Posts: 100+

Re: Need help developing scratch game, much help is sppreciated! ^.^

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.


http://scratch.mit.edu/static/projects/Flait7/2248016_sm.pnghttp://scratch.mit.edu/static/projects/Flait7/1827934_sm.png

Offline

 

#4 2011-08-24 00:53:09

Thescratch3
Scratcher
Registered: 2011-06-14
Posts: 1000+

Re: Need help developing scratch game, much help is sppreciated! ^.^

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.


View my projects. Or face The scratch curse! (Get it?)
http://i56.tinypic.com/2cdk8hy.png

Offline

 

#5 2011-08-24 00:55:44

Flait7
Scratcher
Registered: 2008-04-14
Posts: 100+

Re: Need help developing scratch game, much help is sppreciated! ^.^

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


http://scratch.mit.edu/static/projects/Flait7/2248016_sm.pnghttp://scratch.mit.edu/static/projects/Flait7/1827934_sm.png

Offline

 

#6 2011-08-25 21:42:16

jebis
New Scratcher
Registered: 2011-08-09
Posts: 9

Re: Need help developing scratch game, much help is sppreciated! ^.^

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

 

Board footer