Hi! I’m new to Makecode arcade and I’m currently creating a video game. My game is a platformer and there is four levels. Once you reach the fourth level the sprite suddenly can’t move anymore. Does anyone know how I can fix this problem?
Can you post the game so we can see the code?
I will help if you post code
I can’t believe I forgot that part! Thank you for your willingness to help here is the game:https://arcade.makecode.com/S85316-21251-83307-90424
Looks like the whole game is freezing. You can tell because the menu button doesn’t work. I think this is because you are spawning the rocket ship, which is a “player” sprite, on top of the brown tile. I think this causes the game to run the “print…” block over and over, which freezes the game. This means that the game will also freeze when the player touches the tile, so I would first change the sprite type of the spaceship, and then also make the brown tile disappear when the player touches it, so that the “print…” block only runs once, the first time the player touches the brown block.
Hope this helps!
The most I can give you is to utilize your StartLevel function
try following Darryl’s tutorial on how to make a platformer.
Thank you all!
Hi! I need some more help if someone is willing to provide it. For some reason my fourth levle (the sky) won’t show up. And it automatically skips to the fifth (space). Can someone help?
The flag in level 3 is in the exact same spot as it is in level 4, so as soon as the tilemaps changes the character touches the level 4 flag and goes to level 5. You need to move the flag a bit or write some code to move the character far away before you switch levels. Also, you need to destroy all the coins from the previous level when you go to the next one, otherwise they all stick around and are inside blocks and stuff.