|
|
"Heat-seaking rocket", by the-mike
|
When the right mouse button is pressed, this will spawn random rockets (add a "rocket.bmp", a rocket faced like this: -->) of random speed and turning rate which will track the mouse. Useful in many 2D game engines! |
| Code | | | |