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
Matt Parker is a “standup mathematician.” In this entertaining video, he demonstrates a 1960s plastic toy that plays the game of Nim against a human opponent. Interestingly, Dr. Nim is an ingenious mechanism that uses plastic levers to control the number of marbles it chooses to drop. If you go first, Dr. Nim will always […]
“A Brief History of Video Game Controllers,” starting with Tennis for Two (1958). My favorite is the pioneering Nintendo Power Glove (1989). (Super Deluxe)
See sample pages from this book at Wink. After Dinner Games: 40 of the Greatest After Dinner Games by Jenny Lynch (editor) Lagoon Books 1998, 96 pages, 4.8 x 6 x 0.5 inches $1-$8 Buy a copy on Amazon This pocket-sized book is for that time when things get awkward. That time when conversation has […]
If you’ve got a coding career on your mind, few programming disciplines will take you farther than a commanding knowledge of the Python language. Its versatility and ease of use make it a go-to for any coding project…so master Python now with this all-inclusive All-Level Python Programming course bundle, now only $19 in the Boing Boing Store.Whether […]
The realm of web development is constantly evolving. New platforms, languages, and processes materialize all the time, so staying on top of all that innovation is a tall order.Whether you’re brushing up on new tricks, starting from scratch, or just looking to make your own website a little jazzier, Rob Percival’s new Complete Web Developer Course 2.0 (now […]
Folks used to rely on alarms to protect their home – and before that, the family dog. Now, anyone looking to guard their homes can choose from some high-tech options, including the Amaryllo iCamPRO FHD Home Security Camera (now just $219 in the Boing Boing Store).In fact, this 2015 CES “Best of Innovation” award-winner boasts so many features, it’s […]