This is very similar to the bouncing in my Table Ice-Hockey Game except it doesn't need the massive equation (this uses 2 sprites compared to 1). Great function though! It's certainly much smoother and faster than anything I've made lol :)
Good start. I always thought of building a realistic pinball game starting with (link to project) but I never found the time. Would you?
Download this project!
Download the 2 sprites and 5 scripts of "Pin Bounce" and open it in Scratch
Project Notes
This is an experiment to test bouncing off of round objects. The X and Y velocities are converted into a single value then converted back into X and Y using a different angle.
The pins shown onscreen are just stamps with just one sprite that moves to the closest pin to provide an angle for the ball to bounce from. The second sprite isn't truely needed but it makes the script much more convenient.
Comments
You need to be logged in to post comments
Add a Comment
awesome
This is very similar to the bouncing in my Table Ice-Hockey Game except it doesn't need the massive equation (this uses 2 sprites compared to 1). Great function though! It's certainly much smoother and faster than anything I've made lol :)
I made something like this to make a ball bouncing off a round object as an experiment!
Good start. I always thought of building a realistic pinball game starting with (link to project) but I never found the time. Would you?