Delete JS assets

This commit is contained in:
2026-05-22 00:00:23 -05:00
parent 31ba3fe127
commit 130fe4ca5d
13 changed files with 0 additions and 337 deletions
-30
View File
@@ -1,30 +0,0 @@
function MoveCubeCutscene(params) {
Cutscene.call(this);
this.cube = params.cube;
var SPEED = 3.0;
var DURATION = 2.0;
this.anim = new Animation([
[
{ time: 0.0, value: 0, easing: Easing.inOutQuad },
{ time: DURATION, value: -(SPEED * DURATION), easing: Easing.inOutQuad },
{ time: DURATION * 2, value: 0 }
]
]);
this.anim.onComplete = function() {
Cutscene.finish();
};
}
MoveCubeCutscene.prototype = Object.create(Cutscene.prototype);
MoveCubeCutscene.prototype.constructor = MoveCubeCutscene;
MoveCubeCutscene.prototype.update = function() {
this.anim.update(TIME.delta);
this.cube.position.position.x = this.anim.properties[0].value;
};
module = MoveCubeCutscene;