Reduce vertical despawn speed of spirits
This commit is contained in:
@@ -335,7 +335,7 @@ class Spirit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Vertikales Despawn-Movement
|
// Vertikales Despawn-Movement
|
||||||
this.grp.position.y -= 1 * dt;
|
this.grp.position.y -= 0.2 * dt;
|
||||||
// Nach Lebenszeit entfernen
|
// Nach Lebenszeit entfernen
|
||||||
if (t > this.lifeTime) {
|
if (t > this.lifeTime) {
|
||||||
this.dispose();
|
this.dispose();
|
||||||
|
|||||||
Reference in New Issue
Block a user