Bullet Collision -
08-11-2010, 04:26 PM
Not so much asking for help, but to help others ahead of time.
In this world, I have a way of making collision detection without making the actual bullet move.
Anybody else who might like to contribute their examples, feel free to do so.
WASD to look.
Penguin will flap its wings as long as it's within the line of fire.
Note that it is not meant to be a finished world, and you would need more variables to make the collision happen only when you're firing and whatnot.
To see what I did, look at the world.collisiondetect method and the world.collision function, located in the methods tab and functions tab respectively.
|