Sitting in front of the computer all day is exhausting, so we decided to make a game to stretch our necks and relax. Meowbit can communicate with Micro:bit through the wireless SD BLE module, so maybe we can make an interactive game with this feature.
Step 1: DesignMake a game on MakeCode Arcade.
The protagonist - the puppy has to eat the bones dropping from the sky in 25 seconds.
Micro:bit collects its gesture and controls the puppy sprite on Meowbit through the 2.4G wireless communication control.
The program is simple: set a radio group 1, by evaluating whether Micro:bit is leaning to the left or right, it sends different wireless signals.
You can also open the program directly on MakeCode here
Set a radio group 1. When receiving the radio signal from Micro:bit, it controls the sprite (the puppy) to move to the left or right.
Or you can open the program directly on MakeCode Arcade here
- If you see an error report when opening the MakeCode Arcade program and the simulator is not working, it is because MakeCode Arcade currently doesn't support the SD wireless BLE module perfectly. We can just ignore it, because it works at last when downloaded to the game console (Meowbit).
- Remember to insert the SD module into Meowbit and switch it to the green light mode (2.4G)
Comments