fine positioning
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user