1. How do you make it so you can't go past something? Like a wall.
2. How do you make something bounce off something else (like when something bounces with the <if on edge, bounce> block)?
Thanks in advance to anyone who answers!
Last edited by ElMikkino (2007-10-20 11:19:54)
Offline
beny's script moves the sprite until it touches a color.
To bounce, you need to change directions when touching the color, and you have to move away from the color before doing the test again.
Offline
Make it so when it hits the wall/sprite it moves 180 or -180 degrees.
Just my thought. Someone else can probably do better.
Offline