Help needed please my game wont work

I have to turn in an assignment but the flag to change levels to work properly, plus it changes all the way to the boss

3 Likes

I think I’m kinda late for this chat but my game wont work
the levels wont work

1 Like

What do you mean it won’t work? Looks fine to me…

1 Like

I found the problem!
This block
image
when you hit the flag has enough time to do 2 times setting the level to the boss level.
I couldn’t find a good fix but at least we know the problem now.

1 Like

For starters, the reason it sends you straight to the last level is because you spawn in level 2 already touching the end flag, sending you to the next level. This happens because you didn’t put the “place (princess) on top of random (light blue tile)” block in the setleveltilemap function (it should go at the end!). Hope this helps!

1 Like