Sign in to follow this  
Jovan

Ikaruga-like particle effects?

Recommended Posts

Jovan    100
I've been thinking over this for a while, however I cannot come to a conclusion about making particle animations (I tried using emitters and gravitational pull) that resemble the ones from Ikaruga. For those of you who have played it, I am talking about the power shot that fires in a parabollic manner all around your ship, visually looking like "wings" if you will... Youtube has a nice video of the gameplay sample: http://www.youtube.com/watch?v=sd95jQ57_eM&search=Ikaruga Anyone have an idea how a person can achieve this? The thing that strikes me the most is how graphically-perfected the tails of the particles look... that is, IF they are using a particle system to emit those.

Share this post


Link to post
Share on other sites
Sol462    240
Are you talking about the bluish-white missle things?
If I were to make a cheap hack I'd use an animated sprite - that'd be the quickest option. You can also try the missle as a particle and do the trails with shaders. I'm sure the equation f(x)=a(x-h)2+k would fit in somewhere.

Share this post


Link to post
Share on other sites
Jovan    100
Yes I am talking about the blue stripes. The first problem I see with using animated sprites is the fact that it would be difficult to animate because the stripes can curve every which way..

Gamespot has a few nice screenshots actually..

Share this post


Link to post
Share on other sites
Jovan    100
Is it possible that they are using triangle strips with graviational pulls at each vertex to accentuate the curvature?

Share this post


Link to post
Share on other sites
alfith    2337
I'd go for a triangle strip too with a transparent texture rendered in additive mode. You store the previous positions of each "homing missile" and use them to draw your strips. I'm not sure I understand the "gravitational pulls" thing but as the missiles are going to a specified target, just using a specific initial velocity and orientation gives you the curvature you see...

Share this post


Link to post
Share on other sites
Iftah    413
I dont know if its relevant, but maybe you could use some smooth curve (such as spline) to generate them lines. For example, first point being the spaceship, 2nd point being random near the ship, 3rd being the targeted enemy -> turn these 3 points into a smooth curve.

Share this post


Link to post
Share on other sites
ghosted    445
The precise behaviour of the missile in Ikaruga are a little more complicated than what you're after because they behave in a manner representative of the order in which they must hit to maintain a chain. However, the actual display appears to be a strips of quads/triangles with an appropriate texture for each section (tailing towards the end). Whilst the entitiy grows outwards from it's start point I believe it has a fixed length when in full travel. The best way to to it would be to have the path determined by a single point steering like a car and the remaining locations simply stored in an array. Whilst each element won't necessarily be located at exactly each previous position you should be able to determine the necessary points. A spline would seem like complete overkill.

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