Going further with my shoot'em up...

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

Recommended Posts

Hello, I'm creating the prototype of a 3D space shoot'em up with SDL + OpenGL. My YAW/PITCH/ROLL stuff is perfectly working. Now, I have to give life to my spaceship... So my question is: what do I have to consider to bring flying sensations to the player? Thanks in advance for your answer(s), Microb

Share on other sites
Quote:
 Original post by microbwhat do I have to consider to bring flying sensations to the player?

Motion sickness and a barf bag?

Share on other sites
All the usual stuff. The vessel has inertia/momentum and it is travelling quickly through a heterogeneous viscous potentially turbulent medium.

Model the craft as the massive object it is and you'll produce a realistic experience. That means coding in the annoying angular momentum that makes rolling and turning that much harder, but also that much more satisfying when done correctly.

To be more useful, we'd need to know how big the spaceship is, how it is propelled, how fast it will travel and what sort of atmosphere (or lack thereof) it will travel through.

Share on other sites
One way I find of making a ship feel like its really moving is to have the camera indicate the speed. Suppose the ship accelerates forwards as long as the engines are on, up to a certain speed. When the brakes are applied the ship slows down. The camera follows behind the ship, its position being -(ship.direction_vector)

The faster the ship is moving, the further the camera is from the ship. By doing this, the player feels the speed the ship is moving at.

More ideas:

Have the ship shake as it approaches higher speeds.

Leave a trail of particles behind the ship as it accelerates, left by the engine. The particles are alive for N seconds, therefore the faster the ship moves the longer its trail of particles.

Use a wide field of vision. The player will see more of the stuff the ship is speeding past.

Have a km/s meter. (or m/s or kph or whatever).

If you feel your ready, why not show us a few screen shots? That would us some more ideas.

Share on other sites

"That means coding in the annoying angular momentum that makes rolling and turning that much harder, but also that much more satisfying when done correctly."

Can you explain this? Why is it annoying? What are the formulas to use?

shotgunnutter:
It is a very good idea to play with the camera when the ship accelerate or brakes. I'll try it. Thanks!

http://web.waw.be/~gael/STU/STU_01.jpg
http://web.waw.be/~gael/STU/STU_02.jpg

1. 1
Rutin
42
2. 2
3. 3
4. 4
5. 5

• 9
• 27
• 20
• 9
• 20
• Forum Statistics

• Total Topics
633395
• Total Posts
3011653
• Who's Online (See full list)

There are no registered users currently online

×

Important Information

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!