This commit is contained in:
2026-05-19 23:13:41 -05:00
parent ed6c951783
commit 677768e6ab
28 changed files with 926 additions and 44 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ CubeEntity.prototype.constructor = CubeEntity;
CubeEntity.prototype.update = function() {
OverworldEntity.prototype.update.call(this);
var speed = 3.0;
var speed = 5.0;
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;
+1 -1
View File
@@ -15,7 +15,7 @@ OverworldEntity.prototype.update = function() {
}
OverworldEntity.prototype.dispose = function() {
// Nothing to dispose
Entity.prototype.dispose.call(this);
}
module = OverworldEntity;