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
Commodore’s C64 had a famously decisive, if drab set of 16 colors to choose from, a note of artistic intent amid the unthinking mathematical extremities of other 8-bit color palettes. But did you know there were secret colors? Aaron Bell writes up a discovery that blew his mind many years ago and which, 26 years […]
In celebration of Zelda: Breath of the Wild, Allen Pan built a wonderful home automation system where the interface is an ocarina as seen in The Legend of Zelda: Ocarina of Time. (Thanks, Lux!)
The Offworld Collection, presenting the very best features and essays from Offworld, is finally available to buy directly from Campo Santo for $40. I had the pleasure of designing and illustrating this splendid 250-page hardcover volume, but it’s the excellent writing, edited by Leigh Alexander and Laura Hudson, that makes it an essential buy. You […]
When you can’t wait for the world’s longest meeting to end, the mindless leg bouncing makes your boredom obvious and just annoys everybody else. Everyone knows the TPS reports need the damn cover sheet, but some sadistic colleague keeps forgetting, probably on purpose just to eat into your lunch hour. Enough is enough!While serving a […]
What could be more fun than a slingshot that shoots tiny airplanes? A slingshot that shoots tiny glowing airplanes of course! These toy planes are outfitted with ultra-bright LEDs, so you can fly all night without losing them in the trees.Whether you are a regular-sized child, or an overgrown adult one, these light-up flyers offer […]
You know the drill. You go to the dentist and they ask you how often you floss. You lie through your teeth and say, “every day!” (Bonus points if you have some cilantro or chives stuck in your gums from lunch). You don’t want to keep up the charade any longer, but rubbing that tiny strand […]