im new to scratch, so i dont no how to do really complex things, but i no most of the basics. I'm making a game and i need to know how to stop sprites from overlapping eachother no matter what the user does. I also need to know how to make it so the sprites cant go off the screen.
Offline
also, i need to know how to make things bounce off of other sprites. For example, if a ball hits a sprite from the bottom at 45 degrees, then it should bounce back at 135 degrees.
Offline
can sum1 plz help me?
Offline
Firstly, to keep things from overlapping you have to make them move away from each other. This can be done by moving -1 steps when touching a wall or something .
Secondly, the sprites can't on go off the screen even if you wanted them to.
And for your third question go to http://scratch.mit.edu/forums/viewtopic.php?id=730
its a reflection formula.
Last edited by archmage (2007-09-24 20:09:06)
Offline
u are the best thnx
Offline