Changing The Audio Track of a Video with Avidemux

Avidemux is a handy program for dealing with video files. It can even do batch operations easily enough — that is, if you can figure out how. The documentation for doing any sort of batch job is absolutely terrible. I have a few videos that have a few different audio tracks. Three, to be precise: Russian, English, and a third “unknown” one. Whenever I would play these, it would play them by default in Russian (I would have to manually change the audio track for each file), which is not helpful to me at all. I needed a way to batch change the default audio track (or even just strip the Russian out) for all the video files. Enter Avidemux.

Shrunken Adventures Pixel Art

Since I probably won’t have a use for the art I created for Shrunken Adventures, I’m releasing it to the community! You can also download it on from my profile.

Shrunken Adventures

Shrunken Adventures is a game I created for Ludum Dare 26. The Ludum Dare is an online game-making competition, where you have exactly 72 hours to create a game from scratch. That means art, sound, music, story, mechanics, programming, etc, all from scratch. By yourself. In 72 hours.

Writing an Editor Extension to Customize Mesh Colours in Unity

I’m an engineer and a programmer, not an artist. This sometimes becomes an issue for me when I work on games as while I can make the game technically sound, the art is often downright horrible, or I spend way more time on it than I have any right to. I’m currently working on a long-term, back-burner type game project to keep me busy and distracted when I occasionally need a break from real life. Programming-wise, I’m fine, but what’s a game without art? Well, aside from Dwarf Fortress and most Roguelikes out there, it’s not much. Fortunately, I recently stumbled across (what I think) is a great art style: geometric assets, as shown below:

Simple Bézier Curves in Matlab

I’ve always been curious about how [Bézier] cubic splines are generated and I how I can use them in various projects (game development probably being the most immediately obvious). If you don’t know what I’m talking about, Wikipedia has a decent if somewhat tedious description. After digging through the math, I came up with these results which I’ll share for the simplicity of it all (they really are simpler than I ever though). I found most sources started at the beginning and gave huge mathematical backgrounds, which although are nice, are typically just not what I was looking for. What I was looking for (and what is presented here) is just the end result - given a set of input weights, how do I calculate the actual spline?

Making A Custom Teensy3 HID Joystick

Well, as per probably 99% of blogs out there, I haven’t updated this one in.. forever, which is unfortunate but surely not the end of the world. Anyway, I recently got married and for our wedding we decided we wanted to include some arcade games for a more unique, personal, and fun wedding experience. Me being the overly-ambitious type that I am decided it would be even more spectacular to create our own wedding arcade (“Wedcade” for short)! These actually turned out pretty decently in the end, and I’ll try to write up a post or two about them (as well as the arcade cabinets!) later, but for now I want to talk about using the Teensy3 as a joystick (namely using Teensyduino).

Super Mario World Physics

Super Mario!

Linear Interpolation in C++

Just a quick snippet of code for something that I’m working on. Basically, I need to interpolate between x values different parameters (in my case, interpolating two sets of data for arbitrary x). I came up with this quickly, so it might not be the best or most efficient, but it works, is easy to use, and that’s all I really need.

Creating Custom Launchers in Unity (Ubuntu 12.04 Beta)

There are many things I love about Ubuntu. Sadly, Unity isn’t (yet) one of them. The real reason for this being the horrible lack of customization that Unity has subscribed to.. even adding an icon to your launcher bar (which you can’t move, or disable on your second monitor, which is ridiculously terrible when using dual portrait monitors..) is a more difficult task that it really should be.

Auto-detecting Certain Methods in Java

Although I still have reservations about using Java for publishing large projects (I find these inevitably become slow and clunky due to the JVM), Java is great from a programming standpoint. One thing I especially love about Java is the ability to do run-time “reflections” which allow you to hook into all the loaded classes at run time and do all kinds of crazy things. Combine this with custom Java annotations, and you get a very easy way to write a scriptable interface for a program for example.