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

#1 2007-05-26 16:38:43

relyt12101
Scratcher
Registered: 2007-05-19
Posts: 500+

PONG help -

My PONG game has an odd glitch - and I don't know how to fix it. Could someone please look at it? Post here (or at the game) that you uploaded a fixed version!!

Thanks!!

P.S. look for the glitch AFTER you press the play button during gameplay...


http://img392.imageshack.us/img392/2860/pspbanneregg089deiy0.png

Offline

 

#2 2007-05-26 19:39:55

paulmedwal
Scratcher
Registered: 2007-03-09
Posts: 100+

Re: PONG help -

yeah, you need to do two things, 1st, go inside of the ball's scripts, you tell the ball to point in direction 180-direction, change it to 180+direction for both paddles. 2nd, go to the ball's costume and click edit, underneath the paint colors there is a plus sign that says "set rotation center", click that plus sign and make sure the lines line up at the center of the ball. After you do both of those, the ball will go back and forth. Look through other pong projects to find out how to make the ball to go in different spots on the screen. Leave another message if your still having trouble.

Paulmedwal


clutter.scratch.mit.edu Visit the Clutter site to create multi-scene stories and multi-level games with Scratch.

Offline

 

#3 2007-05-26 19:53:03

relyt12101
Scratcher
Registered: 2007-05-19
Posts: 500+

Re: PONG help -

Thanks! See PONG 0.8 for your changes. Ball goes through the paddles and bounces off wall, though.


http://img392.imageshack.us/img392/2860/pspbanneregg089deiy0.png

Offline

 

#4 2007-05-26 20:00:55

paulmedwal
Scratcher
Registered: 2007-03-09
Posts: 100+

Re: PONG help -

check my comments on pong0.8, use "forever if" like you did in your original pong game and not just "if" when telling the ball to point in 180+direction

Paulmedwal


clutter.scratch.mit.edu Visit the Clutter site to create multi-scene stories and multi-level games with Scratch.

Offline

 

#5 2007-05-27 07:40:08

relyt12101
Scratcher
Registered: 2007-05-19
Posts: 500+

Re: PONG help -

PONG 1.0 is open for business!


http://img392.imageshack.us/img392/2860/pspbanneregg089deiy0.png

Offline

 

Board footer