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