Monday, June 22, 2009

Tilt-based accelerometer-powered Space Invaders

Mike just sent me an email with the urgent flag set with a link to ArduinoWill's video... what I'm doing still up at 2 am on a Sunday is anyone's guess... but this was definitely worth it...



"This clone of the classic Space Invaders game runs on the Arduino Duemillinove with the Liquidware TouchShield Slide and the Sparkfun 3 Axis Accelerometer. Using the accelerometer as a tilt sensor to control the movement of your defender and tapping the screen (running my 1.4 firmware) to fire."



Ha ha - what's up with shooting your own bunker... boo... what's the cheat code for regeneration? :-) The coolest part to me is the part where depending on how far accelerometer is tilted, the speed of the slide either goes faster or slower.

The souce code is uploaded over at the "App Store" (which isn't really a store because everything is Open Source and free...)... and to top it all off, nice icon :) That's pretty cool...

2 comments:

Justin said...

I've never played that game without pushing any actual buttons before...that's pretty neat!

Chris said...

Notice how the Space ship smooth scrolls across the screen, that's very tricky!