We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 480d9ab commit 0df6268Copy full SHA for 0df6268
src/tilemap/main.ts
@@ -49,6 +49,8 @@ for (let cell of tilemap.data) {
49
50
const loader = new ex.Loader([kennyRougeLikePack])
51
game.start(loader).then(() => {
52
+ game.currentScene.camera.pos = ex.vec(5 * 16, 5 * 16);
53
game.currentScene.camera.zoom = 4;
54
game.currentScene.add(tilemap);
-});
55
+});
56
+
0 commit comments