Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Seesaw Ball Balancing Help
- PhirripSyrrip
- Scratcher
500+ posts
Seesaw Ball Balancing Help
Here is the test project: http://scratch.mit.edu/projects/11994059/
Left and Right arrows to rotate.
I was wondering if anyone knew a better way of achieving what I want. Currently it's alright except if you spin the platform too fast the ball goes through the platform.
Left and Right arrows to rotate.
I was wondering if anyone knew a better way of achieving what I want. Currently it's alright except if you spin the platform too fast the ball goes through the platform.
; ; ; ; ; ; ; ;You thought I'd get away from you, didn't you?!
- Lilifant7253
- Scratcher
1000+ posts
Seesaw Ball Balancing Help
I don't know but maybe it'd help if it is a bit slower. So Change the variable for example by 0.3 instead of 0.5.
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!
- PhirripSyrrip
- Scratcher
500+ posts
Seesaw Ball Balancing Help
That's brilliant, thanks a lot! I figured out how to fix that. In the ball, you haveif you make that run without screen refresh, it fixes it.if touching color black
repeat until not touching color black
change y by (2)
; ; ; ; ; ; ; ;You thought I'd get away from you, didn't you?!
- Maltese_Falcon
- Scratcher
100+ posts
Seesaw Ball Balancing Help
Or you could increase the Change y by (2) to (4).
I figured out how to fix that. In the ball, you have
if touching color black
repeat until not touching color black
change y by (2)
if you make that run without screen refresh, it fixes it.
Last edited by Maltese_Falcon (Aug. 26, 2013 20:45:33)
- Discussion Forums
- » Help with Scripts
- » Seesaw Ball Balancing Help