This controller can play arcade games. The apple, bread, and milk control right arrow, left arrow, and up arrow keys. I named this project healthy breakfast controller because apple, bread, and milk are good to have in the morning. The apple and bread were connecting to the CPX by wires. The CPX was hiding behind the milk. Touching the apple or the bread allowed me to move the player left or right. Shaking the milk made the player jump. Healthy breakfast controller always reminded me to eat breakfast when I played games. This project was inspired by the FruitBox tutorial on adafruit(https://learn.adafruit.com/circuitpython-fruitbox-sequencer-musically-delicious-step-pattern-generator/overview).
The CPX code was from Adafruit tutorial of custom controller:https://learn.adafruit.com/custom-controllers-for-makecode-arcade/everything-is-a-keyboard. I made some changes to the original code. When I touched A2, the player moved to the left. When I touched A3, the player moved to the right. When I shake the CPX, the player jumped. The arcade game I played was made on arcade makecode (https://arcade.makecode.com/#). The game tutorial was called simple extensions. I added the rock as an enemy that caused losing. Touching flowers is the winning condition.
Comments
Please log in or sign up to comment.