Sign in to follow this  
mcvitiesyum

Thruster graphics

Recommended Posts

proanim    455

I would say that it is possible to do this kind of thing (and probably the easiest way to do it) with SDL or SMFL and you should probably know OpenGL if you wish to make those kind of effects. More or less this is doable in any 2d api if you put more time in it. Graphics in the clip are done with sprites and sprite animation for the most part, so you can achive this level of quality with any kind of drawing software.

Edited by proanim

Share this post


Link to post
Share on other sites
slicer4ever    6760

the effect appears to be a simply trail effect.

 

essentially, as you move along, you record several points(position, and direction of thruster, and a time to live for that point).

 

you generate a series of rectangles starting at the source thruster, and create a rectangle between the current point and the next point(using perpendicular direction from each points's recored rotation).

 

basically this diagram well hopefully explain it well enough:

szua78.png

 

to see the above method in action:

[url="http://www.youtube.com/watch?v=W0PEXdCuwAM&list=UU20WP2UmRxhYDAsyun8KGBQ&index=1&feature=plcp"]http://www.youtube.com/watch?v=W0PEXdCuwAM&list=UU20WP2UmRxhYDAsyun8KGBQ&index=1&feature=plcp[/url]

 

 

their are other ways(such as re-drawing the previous frame, but fading it out a bit, then draw the current frame).

Edited by slicer4ever

Share this post


Link to post
Share on other sites

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

Sign in to follow this