Entrant 67 : WiFiBoy Game Dev Kit
Posted: Mon Mar 14, 2016 10:20 pm
User
glazlink
Description
WiFiBoy project is originally kicked off for my 13-year-old son, Ricky. He told me he'd like to learn how to make games. So we decided to build our own game dev kit and try to build some wifi game engines to simply game development on IOT.
The kit hardwares are all quite simple. Four wires connect to a SPI-TFT LCD with ESP-8266 module. We use NodeMCU design to add an USB-UART and Auto-Program feature with NodeMCU flasher. And an Ext PCB as WiFiBoy joypad. Only one single ADC to wire four tact switches from Omron. And a buzzer is wired to GPIO4 for PWM sound.
The Game SDK is nore fully implemented well at this time. But we will release a beta at Github soon.
The WiFiBoy game engine is based on ESP8266 SDK written in C codes. We use serveral software timers to control game states, graphic rendering and sound rendering.
The sound rendering engine is currently specially designed for Buzzers. The background music is two polyphony sound and one sound effect channel for foreground sound.
The ghraphic rendering engine is a "dirty rectangle" optimized design. Only modified area will be rendered via SPI to TFT LCD. The performance is quite good to make simple sprite-based games.
Parts
- Glazlink Module: Actually a NodeMCU + a 2.2" SPi-TFT LCD (ILI9341/9328)
- WifiBoy Ext Board: Four buutons + 2 buzzers
Links
Video
Images
glazlink
Description
WiFiBoy project is originally kicked off for my 13-year-old son, Ricky. He told me he'd like to learn how to make games. So we decided to build our own game dev kit and try to build some wifi game engines to simply game development on IOT.
The kit hardwares are all quite simple. Four wires connect to a SPI-TFT LCD with ESP-8266 module. We use NodeMCU design to add an USB-UART and Auto-Program feature with NodeMCU flasher. And an Ext PCB as WiFiBoy joypad. Only one single ADC to wire four tact switches from Omron. And a buzzer is wired to GPIO4 for PWM sound.
The Game SDK is nore fully implemented well at this time. But we will release a beta at Github soon.
The WiFiBoy game engine is based on ESP8266 SDK written in C codes. We use serveral software timers to control game states, graphic rendering and sound rendering.
The sound rendering engine is currently specially designed for Buzzers. The background music is two polyphony sound and one sound effect channel for foreground sound.
The ghraphic rendering engine is a "dirty rectangle" optimized design. Only modified area will be rendered via SPI to TFT LCD. The performance is quite good to make simple sprite-based games.
Parts
- Glazlink Module: Actually a NodeMCU + a 2.2" SPi-TFT LCD (ILI9341/9328)
- WifiBoy Ext Board: Four buutons + 2 buzzers
Links
Video
Images