ImageMagick Split and Join a Sprite Sheet

Posted on Tue 09 February 2010 in Development • Tagged with Game Dev, Linux, Shell Scripting

Continuing the Flixel theme that seems to be brewing here, I found a good way to transform images from full dimension art to sprite sheets. This is useful when converting an image into a sheet compatible with the Flixel tile and map system. In my case I am using it ...

Continue reading

Getting the Owner of a File in Linux

Posted on Mon 25 February 2008 in Development • Tagged with Shell Scripting, Bash

Ran across this problem where I needed root to execute a script as whoever owns it. The solution is simple and should work most everywhere. Basically it just uses the standard "stat" program and uses the print formatting option to only output the name of the owner. Here I use ...

Continue reading