BlueGit

timfa frameworkv3

tween updating

timfa Tim · pushed by timfa

Authored 2022-10-21 · 4 years ago

Hash
c7384353eaf291ee9d5f95dc933f0aadaf6ff76b
Parent
087f0037
1 file changed +1 −0
framework/engine/game.js +1 −0
@@ -108,6 +108,7 @@ class Game
108 108 {
109 109 this.activeScenes[i].update(stepTimeCurr);
110 110 this.activeScenes[i].draw();
111 TWEEN.update();
111 112 }
112 113
113 114 this.previousStep = stepTime;
@@ -108,6 +108,7 @@ class Game
108 {
108 {
109 this.activeScenes[i].update(stepTimeCurr);
109 this.activeScenes[i].update(stepTimeCurr);
110 this.activeScenes[i].draw();
110 this.activeScenes[i].draw();
111 TWEEN.update();
111 }
112 }
112
113
113 this.previousStep = stepTime;
114 this.previousStep = stepTime;