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

#1 2008-10-12 13:51:50

hersheybar
Scratcher
Registered: 2008-10-12
Posts: 5

Pong

I need help figuring out how to make the bar on pong move side to side please reply

Offline

 

#2 2008-10-12 20:53:16

Madderhatter
Scratcher
Registered: 2008-10-10
Posts: 4

Re: Pong

Please be more specific.


http://i300.photobucket.com/albums/nn25/sparky420times/Mad_Hatter_by_Tsumekuro.jpg/img/small_logo.png

Offline

 

#3 2008-10-13 15:23:32

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Pong

Using the arrow keys:
when (green flag) clicked
forever
if <key [left arrow] pressed>
change x by -5 (you can change that if you want)
if <key [right arrow] pressed>
change x by 5

Offline

 

#4 2009-04-14 10:11:46

tomgalaxyzoo
Scratcher
Registered: 2009-03-28
Posts: 100+

Re: Pong

Down load the rtea.jar project and study the scirpt. tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue


<forever> Galaxy Zoo!
smile  smile  smile  smile  woof woof!  smile  sad  big_smile  yikes  wink  hmm  tongue  lol  mad  roll  cool

Offline

 

#5 2009-04-15 06:53:33

dav09
Scratcher
Registered: 2009-03-25
Posts: 1000+

Re: Pong

download my project click here or follow  steps below

paddle:
<when green flag clicked>
<forever>
<set x to( <mouse x>

Last edited by dav09 (2009-04-15 07:03:42)

Offline

 

Board footer