Skip to content

Commit

Permalink
make loading better
Browse files Browse the repository at this point in the history
  • Loading branch information
niceEli committed May 17, 2024
1 parent 1854cf1 commit 5b23f97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/kUtils/kLdtkSceneImporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export default async function kLdtkSceneImporter(
engine?: any,
zoomZ = k.vec2(1, 1)
) {
k.debug.paused = true;
// Load The Level
k.scene("scene", currentScene);
k.loadSprite("CTPlayer", "CTPlayer.png");
Expand Down Expand Up @@ -1035,4 +1036,5 @@ export default async function kLdtkSceneImporter(
"noPause",
]);
k.add([kReset(currentScene, deathScore, kEndSongs), "noPause"]);
k.debug.paused = false;
}

0 comments on commit 5b23f97

Please sign in to comment.