Some adjustments

This commit is contained in:
2026-05-01 13:44:51 -05:00
parent 1efa9a9f7b
commit d373de7a29
30 changed files with 436 additions and 925 deletions
+2
View File
@@ -1,3 +1,5 @@
Console.visible = true;
// Default input bindings.
if (typeof PSP !== 'undefined') {
Input.bind("up", INPUT_ACTION_UP);
+6
View File
@@ -9,6 +9,11 @@ function CubeScene() {
this.cam.position.lookAt(new Vec3(0, 0, 0));
this.cube = new CubeEntity();
this.spriteEnt = new Entity();
this.spriteEnt.add(POSITION);
this.spriteEnt.position.position = new Vec3(16, 16, 0);
// this.spriteEnt.sprite.setTexture('ui/minogram.png');
}
CubeScene.prototype = Object.create(Scene.prototype);
@@ -21,6 +26,7 @@ CubeScene.prototype.update = function() {
CubeScene.prototype.dispose = function() {
this.cam.dispose();
this.cube.dispose();
this.spriteEnt.dispose();
};
module = CubeScene;