PDA

View Full Version : Space invaders played on a 16×2 character display



wraggster
February 5th, 2013, 21:38
http://hackadaycom.files.wordpress.com/2013/02/character-lcd-space-invaders.png?w=580&h=370
This Space Invaders game does more with less. [Rjk79] managed to make a video game using a two-line character display (http://www.reddit.com/r/arduino/comments/17t1wa/arduino_lcd_game_project_video_and_code/). The game consists of a wave of invaders on the top line, with the defender cannon on the bottom. The invader isn’t just stationary, but randomly moves to the left and the right. The image above captured a little bit of motion blur from the defender moving into position before firing on the enemy.
An Arduino board controls the 16×2 HD44780 character display. The game also includes sounds generated by the piezo buzzer seen on the breadboard. All the way to the right you can see the Wii Nunchuk breakout board which provides directional control and the firing trigger. If you want to recreate this one for yourself [Rjk79] is sharing the source code on Pastebin (http://pastebin.com/DxnynyJF). There’s also a demo video found after the jump.
If you don’t have a character LCD on hand you might try this other Space Invaders clone that uses an 8×8 led matrix (http://hackaday.com/2013/01/10/prototyping-a-low-resolution-handheld-gaming-rig/).

http://hackaday.com/2013/02/04/space-invaders-played-on-a-16x2-character-display/