Remixing open source games with Creative Commons content

No readers like this yet.
neon sign with head outline and open source why spelled out

Opensource.com

One of the great things about open source is that you're free to modify and redistribute it in whichever way you like. This is real creative freedom that I support. All of my apps and games are open source. A while back, I helped fund the opening of some game music and art assets to the public. Being in the public domain (or having a Creative Commons license, as these art assets now do) allows for public remixing and free use of the content. Gotta love that.

Fast forward to this week. I was relaxing on a short staycation, playing games and watching TV, and I began to think to myself, "Why not remix one of my games with some of this new creative commons content?" So that's what I set out to do. You can grab the latest source code from the GitHub page. Here's how it's looking right now: (Note: any ghosting or slowdown you see is an artifact from screen capture).

I started by copying the base of my last game: Pop Them Balloons. The source is heavily commented and uses my high-level abstraction libraries to make basic game design a very straightforward task. Title/credits screens are one-liners in code. This allows me to concentrate on the base gameplay mechanics and refine the core experience without worrying about scrolling end credits text or background music, etc.

The concept for my new game, "Can't Stop The Rock," is quite simple. It's a casual game flipped on its head. You play "the level," dropping balloons that quickly scroll left toward "the rock." The rock rolls around the screen dispatching your balloons. I'll add weapon upgrades and various mechanics from my previous action games for the rock to execute while you drop balloons. The goal, if there is one, is to get balloons past the rock. I want the game to be fast and slick—60+fps at all times—and I'm going to do it without resorting to native code or OpenGL.

Can't Stop The Rock screenshot

First, it was time to upgrade the audio. Pop Them Balloons had three main songs: a title theme, a credits theme, and a game theme. I’m going to upgrade that to five songs for "Can’t Stop": a title theme, a credits theme, and three game themes. I updated the code to change the game theme depending on the difficulty selected. That way, you can have a more casual experience on more casual game modes.

And here I ran into my first creative editing situation: I felt the game over theme from "HalyconFalconX" would make for a great title theme on "Can’t Stop The Rock," except for the inclusion of “Fail!” at the end of the song. Not to worry, I opened up Audacity (my favorite open source MP3 editor) and clipped it out of the waveform. That’s the sort of thing you can do with open content.

Audacity MP3 editing screenshot

I wanted the action to be fast and furious, so I went with high-BPM tracks and removed some graphical flourishes for now.

From here, I updated the background to pulsate through a known list of pleasant colors and updated the little rock hero to actually pop some balloons as it crossed them. The gameplay is very fast paced, so much so that my video encoder gives me ghosting when screen capturing on my aging Nook tablet.

I think some of the best casual gameplay comes around the use of sound and audio to immerse the player in the experience. With that in mind, I set out to add some musical fun to the game. My first thought was to include midi playback, but there’s too much baggage. I ended up heading over to freesound.org and downloading a set of guitar chords, then arranging the play screen into note quadrants, making for some interesting music opportunities.

As you can see, as each balloon is placed onto the screen, it is painted with a note. This is the note that plays if it gets popped. Right now it doesn’t seem much like most games, and it doesn’t play like most instruments. Pretty fun stuff, and a lot of cool directions to take this in the near future. Next time, perhaps I’ll play with the mechanics of color and sound, or add an RPG stat system to our hero. The sky’s the limit.

"Can't Stop The Rock" screenshot

Originally posted on HunterDavis.com. Reposted here under Creative Commons.
User profile image.
I write books, release software, hack on hardware, ponder ideas and generally have a good time.

2 Comments

Brilliant article. It is a wonderful example of just how Creative Commons and the public domain enables creativity, not stifles it. Many of the commenters in the recent reddit.com/r/books discussion about public domain day [1] should really read this article instead of dismissing everyone pro-public domain as being 'self-entitled', insisting that only 'original' creations have merit, or any of the other arguments put forth against works entering the public domain! Thanks, Hunter, for sharing the story of your creative endeavor.

[1] https://www.reddit.com/r/books/comments/2qx9d2/happy_public_domain_day_…

Thanks Joshua,

I just read the incredibly disheartening news that there will be zero copyrighted books coming into the public domain this January in the US. Such a waste of creativity, and as far as I'm concerned terribly shortsighted. Long time readers of my blog will recall that sales of my apps increased when I released their source code and graphics/music assets, and I have no plans to release any future works that are not open source.

Copyright law reminds me very much of "The Dead Past", a short story by Asimov. In it, we have this one facet of our culture that is strictly controlled by the government but is becoming ever more difficult to enforce due to our ever-improving technological infrastructure. For me, it's a very compelling call to abolish copyright. How ironic then, that though it was written for a magazine 50 years ago won't enter the public domain until 2051!

Creative Commons LicenseThis work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License.