Whenever I start up the game, the Paddle races up the screen.
Code:
When I receive "Game Start"
--------------------------------------
show
--------------------------------------
go to x: 202 y: 15
-------------------------------------
set Y velocity to 0
-------------------------------------
Forever
-------------------------------------
change y by Y Velocity
-------------------------------------
Set Y velocity to Y velocity * 0.5
-------------------------------------
if on edge bounce
-------------------------------------
If key Up Arrow pressed?
Chance Y Velocity by 3
-------------------------------------
If key down arrow pressed?
Change Y velocity by -3
-------------------------------------
Offline
Your numbers are waaaaaaaaaay too high. Even with the *.5 I think. Try something more like
When I receive "Game Start"
--------------------------------------
show
--------------------------------------
go to x: 202 y: 15
-------------------------------------
set Y velocity to 0
-------------------------------------
Forever
-------------------------------------
change y by Y Velocity
-------------------------------------
Set Y velocity to Y velocity * 0.9
-------------------------------------
if on edge bounce <----------------This won't do anything...it's only for direction
-------------------------------------
If key Up Arrow pressed?
Chance Y Velocity by .5
-------------------------------------
If key down arrow pressed?
Change Y velocity by -.5
-------------------------------------
Offline
It would help if you uploaded it so we could see it. I just copied your script and it worked fine for me. I'd guess something in another sprite or a different script (if there is one) for the paddle, that script looks fine.
Offline
Your script in the ball sprite is the culprit. It is changing the Y velocity variable by 3.
Offline