▲ 1 r/gamemaker
Particles with Really Fast Animation
I am making a particle system for an explosion and the animation is playing way faster than it should.
I toggled the animation stretch on and off, if stretch is on it plays too slow and if stretch is turned off it plays at a faster speed than it should.
How do I make it play at the speed that it runs at in the sprite editor?
https://i.redd.it/ycgonsa1fz1h1.gif
//psExplosion
ps = part_system_create();
part_system_draw_order(ps, true);
//Emitter
var _ptype1 = part_type_create();
part_type_sprite(_ptype1, sExplosion, true, false, true);
part_type_size(_ptype1, 0.8, 1.2, 0, 0);
part_type_scale(_ptype1, 1, 1);
part_type_speed(_ptype1, 0.01, 0.1, 0, 0);
part_type_direction(_ptype1, 0, 360, 0, 5);
part_type_gravity(_ptype1, 0.001, 270);
part_type_orientation(_ptype1, 0, 0, 0, 0, false);
part_type_colour3(_ptype1, $FFFFFF, $FFFFFF, $FFFFFF);
part_type_alpha3(_ptype1, 1, 1, 1);
part_type_blend(_ptype1, false);
part_type_life(_ptype1, length - 10, length + 10);
var _pemit1 = part_emitter_create(ps);
part_emitter_region(ps, _pemit1, -d, d, -d, d, ps_shape_ellipse, ps_distr_linear);
part_emitter_burst(ps, _pemit1, _ptype1, intensity);
part_system_position(ps, x, y);
u/EnricosUt — 4 days ago