What it does
We made a minimal platformer that can be played with a controller or keyboard controls. We also designed an embedded system using Arduino that can be hooked up to a computer and act as a controller. Each joystick controls a different player. If you don't have a joystick, you can still play the game by controlling the blocks with the arrow keys or WASD. :-)
How we built it
We built it using joysticks, an Arduino, C++, Python, and JavaScript.
Challenges we ran into
We had some trouble getting the joysticks to register as an input on our device, but in the end managed to get it working using python-evdev. Another problem we had was the character falling through platforms. We fixed it by adding more checks to make sure that when modifying the character's position it can't go through a platform.
Accomplishments that we're proud of
We are proud of the control system we designed using our Arduino, and our level design.
What we learned
We learned a lot about embedded systems and game design. We now understand why in many games it's possible to glitch through floors and walls :')
What's next for Red Block Green Block
We plan to make it work better on different devices and add new mechanics such as dashing. More levels would also be welcome.
Built With
- arduino
- breadboard
- c++
- javascript
- python

Log in or sign up for Devpost to join the conversation.