fine positioning

This commit is contained in:
2025-07-01 20:07:55 +03:00
parent 914ac87d39
commit 85ece672e4
3 changed files with 28 additions and 10 deletions
+9 -9
View File
@@ -185,17 +185,17 @@ export default {
// gameEngine.camera.scale.copy(l.camera.position)
}
// let testGame1 = new Game1(gameEngine, '/static/textures/game1-test.jpg', 2, 3);
// gameEngine.activeObjects.add(testGame1.game);
// testGame1.game.position.set(0, 1, -5);
let testGame1 = new Game1(gameEngine, '/static/textures/game1-test.jpg', 2, 3);
gameEngine.activeObjects.add(testGame1.game);
testGame1.game.position.set(0, 1, -5);
// let testGame2 = new Game2(gameEngine, '/static/textures/game2-test.jpg', 3, 3);
// gameEngine.activeObjects.add(testGame2.game);
// testGame2.game.position.set(0, 1, 5);
let testGame2 = new Game2(gameEngine, '/static/textures/game2-test.jpg', 3, 3);
gameEngine.activeObjects.add(testGame2.game);
testGame2.game.position.set(0, 1, 5);
// let testGame4 = new Game4(gameEngine, '/static/feathers-game.glb', 3, 4);
// gameEngine.activeObjects.add(testGame4.game);
// testGame4.game.position.set(0, 1, 5);
let testGame4 = new Game4(gameEngine, '/static/feathers-game.glb', 3, 4);
gameEngine.activeObjects.add(testGame4.game);
testGame4.game.position.set(0, 1, 5);
},
async expandScenarioData(scene){
scene.data.$environment = (await this.$api.gameObject.load(scene.data.environment)).data