i have a project and it is my game jam project, and btw, do the first time in the menu shown
so, when i complete a level, the game freezes, can someone help me
1 Like
Can you share a link to your code? We arenāt allowed to legally hack into your computer for it so you are gonna have to willingly share it
2 Likes
Can you send the link?
1 Like
Well I need to see the codeā¦
2 Likes
The easiest way to fix this is to call newLevel
in a separate fiber: (Import the timers extension for this block)
Otherwise the game will wait until newLevel
finishes. Also you canāt compare an array like this:
You will have to manually iterate over every element of the array and check if itās
false
, if it is then start a new level.
1 Like
thanks polar oppisate, question: game over on this project, can you explain why i donāt die https://makecode.com/_5x4d0i12XTYp
1 Like
Seems to work for me what do you mean by ādie?ā
get the game over screen
This seems to work:
If you want the player to choose the level again.
1 Like
yeah, right