This commit is contained in:
2026-05-06 22:42:28 -05:00
parent 581dbc2b3c
commit d8fe0f6923
12 changed files with 693 additions and 3 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ CubeEntity.prototype.update = function() {
var move = Input.axis2D(INPUT_ACTION_LEFT, INPUT_ACTION_RIGHT, INPUT_ACTION_UP, INPUT_ACTION_DOWN);
this.position.position.x += move.x * speed * TIME.delta;
this.position.position.z += move.y * speed * TIME.delta;
this.material.setColor(Color.rainbow());
this.material.color = Color.rainbow();
};
module = CubeEntity;