Jump to content
  • Advertisement

Archived

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

Bad_Maniac

Take a look at this, I want to know how?

This topic is 5751 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

http://www.the-underdogs.org/game.php?name=Vsys+Gaiden in the screenshot, there are trails of smoke, coming from some of the projectiles. if you downöoad and try the game, wich is absolutely excellent by the way. You will see it clearer. I want to figure out how they make those trails, particles, alpha blended comes to mind, kind of what I am doing, only, HOW do you make the particles look like that? any ideas please? the game is freeware so don''t worry. It''''s nice to be important, but it''''s more important to be nice.

Share this post


Link to post
Share on other sites
Advertisement
You can try blending...

drawing the missle/missle smoke over and over again... with the alpha starting out at zero, and going to 100 when you reach your missle...

I think thats the technique your looking for...

Share this post


Link to post
Share on other sites
They use textured strips, not particles, to create a trail.
basically, you ''drop'' points behind some object as it travels through space, then you create a tri-strip between the points of some width. Like this:


+...+...+...+ (object) traveling -->

Where the + are the points along the strip & the ''.'' are the space between the point samples.

To build a tri-strip from this:

|---|---|---|
+.\.+.\.+.\.+ (object) traveling -->
|---|---|---|

where the |,-, & \ are the lines of the tri-strip.

Share this post


Link to post
Share on other sites
Uhm, software Direct Draw is what I''m using... any good ideas?

It''''s nice to be important, but it''''s more important to be nice.

Share this post


Link to post
Share on other sites
Sorry to *BUMP* my own message, but I just want to know if anyone can help me figure out how to do this in DirectDraw 2D

The tri strip is very clear to see when you are aware of it, and are really looking. How could I achieve it in 2D? I am quite sure there isn''t any hardware method.

Modifying a breshenham line algorithm comes to mind, but modifying it how? any help?

thanks.

//Martin

It''''s nice to be important, but it''''s more important to be nice.

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.

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!