I previously created a project to control the Roll-a-Ball game I made in Unity using the IMU of an M5Core2.
While exhibiting this project at an event, someone who played it asked, "Can't you display the game on the controller itself?" The Tab5 has a large screen and a built-in IMU, so I thought it was perfect! That's what led me to create this project.
Code ReferencedI referenced the code from the site below, which demonstrates how to roll a ball on the M5StickC screen by tilting it. I used this code as a basis for my creation in UIFlow.
To make the game playable even for small children, I placed two types of balls: a low-difficulty red ball and a high-difficulty blue ball. I designed it with the idea that even a 5 or 6-year-old could probably clear the red balls. Adults should try their best to clear both the red and blue ones.
OtherFor hardware, you only need a Tab5, so you can play the game just by installing the firmware. I have made the firmware available on M5Burner, so if you have a Tab5, please install it and give it a try.






Comments