Hey, I am makeing a pinball game and could use a couple of answers and alot of help.
1. I need to know how to make the ball bounce off of the sides and roll down loops and stuff without going through them and comeing off at a realistic angle. This is my worst problem.
2. This is probably going to scroll from one screen to the next, vertically. How can I get that to work with the ball still going and stuff? It will just be 2 screens.
3. How do I make it go under stuff sometimes and then go up it when it goes through the entrance?
Hear is the course that I am working on. (Yes, it is Pokemon Pinball. )
Offline
1. A simple way would be to have the ball turn around 180 degrees if it's touching a wall. Or you could have a variable that controls the movement of the ball's X positon, and then just change that when it hits a wall. For a more realistic way using Trig functions see: http://scratch.mit.edu/projects/kevin_and_abe/543772.
2. Use a scrollY variable just as you would use a scrollx for horizontal movement. Set the first screens Y position to scrollY and the second the scrolly + (360 * 1).
I'm not so sure on what you mean for 3.
Offline