Page 1 of 1

Turret Thing

Posted: Fri Feb 14, 2014 2:41 am
by iPoisonxL
This is a turret thing I made quickly because I had just learned about sin/cos/tan & their inverted functions in math class. I've been waiting to understand this code for a long time now, and now I do! Yay! Here's the thing I made with it.

(Deceleration technique credit goes to micha)

Have fun. I, for one, really love the bullets and find them quite interesting to mess around with.

Controls:
WASD move around (it's slow, because it's a turret with two wheels not a frickin car)
click to aim
spacebar to shoot
left/right arrow keys to modify angle
up/down arrow keys to change fire rate