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
Nintendo’s Switch is a touchscreen tablet with removable physical controls that turn it into a traditional handheld game console. It comes with a chunky dock to hook it up to a TV set for high-definition couch action; also announced is a traditional wireless gamepad to match the squared-off dark gray design: it’s what disassembles to […]
The developers behind the hotly anticipated Shadow Warrior 2 have gone on record explaining why they didn’t add DRM to their new title: they themselves hate DRM, and understand that DRM disproportionately inconveniences legit customers, not pirates who play cracked versions without DRM.
Modal VR, the new stealth startup co-founded by Atari and Chuck E. Cheese creator, has opened the doors a crack. According to Bushnell, their portable VR system is built for business applications (even though the demo video shows, you guessed it, a game). “We want to help enterprises solve problems by looking at them from […]
From self-driving cars to stock market predicting software to the recommendations you get on Amazon and Netflix, machine learning is at the core of modern technology. You could find yourself building technology that is literally changing the world with the skills you’ll learn in The Complete Machine Learning Bundle. This bundle of 10 courses includes 406 lessons that will teach […]
This Python Mega Course will help you learn to code by teaching you to build 10 real-world apps that each highlight a unique use of Python.Job prospects for coders are still growing steadily—and with Python being one of the most popular coding languages out there today, it’s important for job seekers to demonstrate a widespread understanding of the […]
The Atmos R2 may be bigger than the brand’s previously-released vapes, but we argue that in this case it’s definitely a good thing. A bigger heating chamber means more room for packing it full. And the bigger battery means longer, more fulfilling vape sessions. In fact, you can use the Atmos R2 for up to about 25 […]