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
Turret Thing
Turret Thing
- Attachments
-
- turret thing.love
- (1.98 KiB) Downloaded 218 times
Code: Select all
L
L Ö
Ö V
L Ö V E
Ö B E
V E
E Y
Who is online
Users browsing this forum: No registered users and 2 guests