Want to test this in PSP

This commit is contained in:
2026-06-08 11:32:59 -05:00
parent 2ca6780305
commit da3db50ca8
21 changed files with 645 additions and 309 deletions
+4 -2
View File
@@ -18,7 +18,7 @@ scene.init = async function() {
var cam = scene.cam.add(Component.CAMERA);
camPos.localPosition = new Vec3(3, 3, 3);
camPos.lookAt(new Vec3(0, 0, 0));
// Floor - large flat slab, no texture needed.
scene.floor = Entity.create();
var floorPos = scene.floor.add(Component.POSITION);
@@ -27,6 +27,8 @@ scene.init = async function() {
floorR.color = Color.BLUE;
// floorPos.localScale = new Vec3(16, 0.2, 16);
// floorPos.localPosition = new Vec3(0, -0.1, 0);
await UIFullboxOver.transition(Color.BLACK, Color.TRANSPARENT, 1.0);
};
scene.update = function() {
@@ -37,4 +39,4 @@ scene.dispose = function() {
Entity.dispose(scene.cam);
};
module.exports = scene;
module.exports = scene;