Arcade Platformer

We built a really cool platformer game in the Makecode Arcade editor

We brought in a pre built level and added some more elements to it such as a spawn location, end portal and mob spawners

We then set up the game mechanics, including gravity and controls

Next we got two enemies set up, one to move left and one to move right

We then added some really technical code to make each enemy bounce of walls

If an enemy hits us, its game over, but if we reach the end we win

Have a look at the full code below and test out the game in the simulator

Next
Next

Microbit Robot