Can you help me with this project

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 :grinning_face_with_smiling_eyes:

1 Like

Can you send the link?

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)
image
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 :frowning: what do you mean by “die?”

get the game over screen

This seems to work:
image
If you want the player to choose the level again.

1 Like