blognax.blogg.se

Game maker studio 2 particle effects
Game maker studio 2 particle effects




game maker studio 2 particle effects

With delta enabled you should remember to setup right speed, gravity amount and life values! For example without deltatime we should setup life 60 for 1 second life for this particle with room speed 60 and with deltatime we should setup life to 1 for 1 second life regardless room speed.

game maker studio 2 particle effects

To turn on delta time just put enabledelta() function to create event after creating particle system. And of course to create our particles need to run burst function almost like the standard system, all functions look identical, except that at the beginning ascribed to "advanced_".īut in order for our particles to be visible, they need to be drawn on the screen, for this you just need to run the draw function in the "draw" event.īecause, as first, we have part_point_gravity function!Īnd, as second, we have delta time! Which give us a huge control with particles speed! At low and high FPS we have the same speed of particles. We are create particle system, emitter and particle type.įor our particle system to work, we need to add a step function to the step event. Check out wiki page! Advanced Particle System wiki CompareĪll functions looks like standart gms particle system.






Game maker studio 2 particle effects