Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Programming Problem
- dragonboy387
- Scratcher
5 posts
Programming Problem
I am just making this simple ping game that I have done before and even posted. The problem is that every time the ball hits the paddle it just keeps moving up and down repeatedly. I thought about a lot and tried many different things but it just won't work.
Please help me in this problem if you can.
Thank you
Please help me in this problem if you can.
Thank you
- Lilifant7253
- Scratcher
1000+ posts
Programming Problem
I'll look at the project and maybe I'll find the glitch.
I've reached the 1000+ post rank on wednesday, 11th Sept., 2013 18:29 (German time) / 12:29 (Eastern Standard Time)
Hi! I Iike helping others. So feel free to leave a question at my profile!
- scubajerry
- Scratcher
1000+ posts
Programming Problem
The biggest problem is you need to center your BALL costume.
If you still have trouble after that, move the MOVE block into the same loop as the IF TOUCHING.
If you still have trouble after that, ad a CHANGE Y BY 5 block inside the IF TOUCHING
If you still have trouble after that, move the MOVE block into the same loop as the IF TOUCHING.
If you still have trouble after that, ad a CHANGE Y BY 5 block inside the IF TOUCHING
Last edited by scubajerry (Sept. 28, 2013 12:10:23)
- scubajerry
- Scratcher
1000+ posts
Programming Problem
Go to the costume for SPRITE1
Click on the costume tab
Zoom into 400%
Click on the ball
You should see a small crosshair and the ball. Drag the ball so it is mostly centered on the crosshair.
Zoom into 1000%
Drag the ball so it is centered on the crosshair.
There is also a set costume center button in the upper right that you can use to get close.
Click on the costume tab
Zoom into 400%
Click on the ball
You should see a small crosshair and the ball. Drag the ball so it is mostly centered on the crosshair.
Zoom into 1000%
Drag the ball so it is centered on the crosshair.
There is also a set costume center button in the upper right that you can use to get close.
Last edited by scubajerry (Sept. 28, 2013 13:24:45)
- davran
- Scratcher
10 posts
Programming Problem
To fix it, press the i button on sprite3. Then where it says “rotation style”, Press the circle. It should work.
- scubajerry
- Scratcher
1000+ posts
Programming Problem
This does “fix it” by stopping the ball from rotating, but the problem really isn't that the ball is rotating, but that it is not rotating around its center. To fix it, press the i button on sprite3. Then where it says “rotation style”, Press the circle. It should work.
- Discussion Forums
- » Help with Scripts
- » Programming Problem