Last November, Kris Temmerman decided to outfit the empty store-window of his Antwerp flat/studio as a playable video game for his neighbours to play as they passed by. He wrote his own Arduino-powered pixel-art game and set some controllers into the exterior window-frame and watched what happened. It turned out great, and Kris has thoroughly documented the build and released his source so you can try it too.
To make the development easy and fast, I cross developed the game as a Cinder c++ app and an Arduino app, that way i didn’t had to upload the whole thing on an Arduino every time I wanted to test something.
I didn’t use any external memory, so I had to store everything on the Arduino. I made a small app that generates c++ classes from bitmaps with some gamma correction for the led screen. I used indexed colours to save some of that precious SRAM. For driving the leds, I modified the Adafruit neopixel lib, to support alpha-blending and make it a little bit faster for my specific case.
I don’t really have much experience with generating sound and music. So the 8-bit sound was quite challenging. I’m happy with the result, but my oscilloscope broke during development of a more advanced sound lib, so its quite simple for now. But I really enjoyed myself working on the sound aspect. I have a feeling that my next project is going to be something sound/music related ;)
I’m not going to elaborate too much on the rest of the code. But you’re free to check the source code yourself (warning: its messy).
The full source code and game assets on Github (Code-> MIT, Assets-> CC attribution)
Arduino Video Game for the Neighbourhood
The microgravity of space would really put a damper on your dice games. You roll them and they don’t land. The 3D Printing Professor has a fun solution. Space Dice (via Adafruit)
Jessica Leigh Clark-Bojin (aka @ThePieous) writes, “It is National Pie Day in America tomorrow (not to be confused with “International Pi Day” – the cooler big cousin of pie holidays on March 14th…) In honour of this occasion I’ve posted a new tutorial video that is very attainable for any novice pie-geeks out there thinking […]
Rough metal dice, fresh off the forge! Dice so heavy and clunky and sharp you can ruin tables and kill cheats without brandishing a dagger. But is this ren-faire fun fair play? I decided to put them to the test and see how random they were. I’m not great at math, so I’ll just show […]
You know as well as I that writing complex, long-long form text requires significant organization. You’re probably also well aware that Word just isn’t up to the task. That’s why I’m a huge fan of Scrivener, the software suite used by best-selling authors and technical writers alike.Scrivener is much more than another digital typewriter. With a […]
Looking to upgrade your weekend? Here are three randomly awesome products on my mind this week.#3 FRESHeBUDS Pro Magnetic Bluetooth EarbudsAs more and more phones and gadgets switch to Bluetooth-only compatibility, you’ll need to get Bluetooth headphones like the rest of us. I’ve been super impressed with these affordable magnetic headphones. Pull the magnetic earbuds apart to auto-connect […]
Traditional folding wallets are designed for paper bills—but these days, carrying cash is rarely a necessity. More often than not, I don’t carry cash at all. This Bogui Clik Wallet is the best answer I’ve found for avoiding the hassle of those tight-fitting credit card pockets.This attractive, minimalist wallet features a protective lip, so my cards don’t […]