forked from LeenkxTeam/LNXSDK
moisesjpelaez - Framerate and delta fixes
This commit is contained in:
@ -149,7 +149,7 @@ class ParticleSystem {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Animate
|
// Animate
|
||||||
time += Time.renderDelta * speed;
|
time += Time.renderDelta * speed; // realDelta to renderDelta
|
||||||
lap = Std.int(time / animtime);
|
lap = Std.int(time / animtime);
|
||||||
lapTime = time - lap * animtime;
|
lapTime = time - lap * animtime;
|
||||||
count = Std.int(lapTime / spawnRate);
|
count = Std.int(lapTime / spawnRate);
|
||||||
|
Reference in New Issue
Block a user