Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Space Fortress update

Sign in to follow this  


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]
Sign in to follow this  


Recommended Comments

"too many bullets slow down fps badly"

You should kill projectiles after awhile - there's no reason for them to persist forever. Horrible memory leak :P

Other than that, pretty fun.

Share this comment

Link to comment
Fantastic collision reactions! Definitely better than Membrane Massacre's. I'll definitely need to adapt this method of averaging contact points for the final release. [smile]

Share this comment

Link to comment
The collisions are great (I wonder if Worms had done it this well - one isolated pixel could get really annoying at times), but the ship reacts like a ping-pong ball when it collides, which isn't very user-friendly :) I really think it would help if you also reduced the normal component of the ship's velocity by half (or something) with every collision, instead of just shifting its sign to make it bounce. Other than that, it's rather cool!

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!