small tank project
yeah, i know i have a lot of concurrent projects. oh well, so does everybody. right now i'm working on a simple tank game putting to use the terrain method shown in the previous post.you aim and fire with the mouse, and control the tank with the wasd keys. that's all it does, you just control the tank.at first i was having problems with the aiming, but then evilish pointed out some nifty functionsyou can download it if you want, it's nothing much, another example i guessbug fixesthere was a bug in the terrain trace example from my last post that used the create event that skipped over certain configurations. i figured it out while using it in the tank project. it's fixed now, and can be downloaded againother stuffhaven't posted in a while. exams are dumb and i hate them
bah, cos and sin needs a radian, not a degree…
x = radius * cos(radtodeg(angle of rotation))or just use the lengthdir_x/y functionsthanks, the lengthdir functions worked fine. i had no idea those even existed
Graphics look cool.
radians are stupid…
I <3 tank games somehow. :S