Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

linus78

What do you think about the physics in my game? (Astro clone)

This topic is 5837 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi. Im working on a Astro clone, and I was wondering if you guys could test it and tell me what you think about the physics. So please download it from: http://hem.passagen.se/linushomepage/opengl/AstroFighter.zip And try it out, be aware that I havent tried to make it look good I wanted to get the physics and all done before I started to make it look cool. Thanks, Linus

Share this post


Link to post
Share on other sites
Advertisement
I really like the ship''s movement. The way you have taken care of rotation along with the movement makes simply pushing the arrow keys quite fun This is probably the most fun implementation of physics in an Astroids clone I have ever played. Good luck.

Share this post


Link to post
Share on other sites
That is very very cool. Now I just need someone to play with. But the only problem I can see with it is that you can''t destroy the other ship (as far as I can tell).

Keep it up,

John B

Share this post


Link to post
Share on other sites
That was FUN!

I mean, theres not much to do, but those physics are nice. I also like how the ship moves, it takes some getting used to but once you get a hang of it its fun. Looking good!

Share this post


Link to post
Share on other sites
Thanks for the feedback, Im glad you guys liked it!

The next thing on my Todo list is to make it possible to destroy the other ship. The way it is now the HP just loops back to 100 if the ship dies.

Any ides how to make an explosion?

//Linus

[edited by - linus78 on June 30, 2002 4:24:00 AM]

Share this post


Link to post
Share on other sites
I like the way the spaceships ''tips'' a bit when turning. It looks good.

The physics is very playable, but not exactly realistic. When you release the forward key, the spaceship gradually stops. In space it would just keep going (there''s no friction). Also, it would not be possible to brake or fly backwards. To do that, it would be necesarry to turn the ship around and fire the trusters in the opposite direction.

Then again, modeling it ''correct'' would make the ships much harder to control. If you aim for gameplay rather than realism, then your physics is just fine.

To make an explotion, you could just paint an explotion texture and put it on a quad placed at the player position (or several textures to make an animation). Or you could make some sort of simple particle system.

Share this post


Link to post
Share on other sites
I noticed that only one ship tilts when it turns. I hope this doesn''t mean that you copied and pasted the same code for the different ships. If that is the case, it is just going to piss you off when you decide that you want to change something, add more players, and probably get you lost and disoriented while debugging.

Share this post


Link to post
Share on other sites
smart_idiot: you are right only one ship is tilting when its turning, and it should tilt. Its my fault I forgot to remove a comment in the DrawGLScene(); function. I removed the tilting when i was trying some different physics.

Anyway a new version is up:

http://hem.passagen.se/linushomepage/opengl/AstroFighter.zip

The new thing in this version is some early work on explosions and of course I fixed the tilting.

//Linus

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!