SpaceFortressTests01.zip [853.08 KB]
i got a much better collision response working now. you can actually travel the corridors. the linked zipfile has two exe files.
one is a test that lets you fly through and see the resulting normal and reflection. i generated the above screenshot with it.
the other has a proper sized boundcircle and collision implemented, so you can fly around and bounce off of the walls. the weapons are in working order, so feel free to blast up the fortress.
i've got a ways to go, so things like "too many bullets slow down fps badly" and "man the graphics suck" aren't really going to help me out much. i spent 3 hours of this update trying to figure out why the reflection function wasn't working, and i forgot to end it with return. yeahhh. [bawling]
You should kill projectiles after awhile - there's no reason for them to persist forever. Horrible memory leak :P
Other than that, pretty fun.