Game Development Community

Particle Effect properties over time

by Matthew Shapiro · in Torque X 2D · 09/15/2007 (4:54 am) · 1 replies

Is it just me or are some particle effect properties not able to be changed over time? The main property I am trying to have change over the particle's lifespan is the particle's speed.

What I am trying to do is simulate going through space, so the stars come fast while in the middle of the screen and then get slower at the end of the screen. Maybe this won't actually do the effect I am looking for (I'd have to play with it) but is there no way to make the particle start off fast then slow down?

#1
10/06/2007 (5:26 am)
I would create four backgrounds, One black representing space then three transparent star backgrounds to represent the stars and the depth of space. Allow your fighter ship or whatever you have to reach the center of screen as normal but increase the speed of the star layers faster and faster as long as the player presses forward on the controller while in the middle or some predetermined boundary of the screen. When the player lets go of forward have the background scrolling come to an abrupt stop which will simulate the character coming out of hyperspace and maybe have the star reel back a bit. Remember that this effect will probably lead you to creating some lengthy levels to make it seem as if the player has traveled a great distance if you're incorporating this into gameplay. Use particle effects for things like ship thrusters, space wind (which doesn't truly exist but this is game) wrapping around the hull of the ship, the explosions going in and coming out of hyperspace. Think smaller with the particles and let simple tricks handle the bigger parts. I hope this helps but the effect you're trying to reach will be overly costly to your project when using paralax backgrounds would easil solve the issue.