Java Texture Packer
A couple of days ago, I need to write a code to pack a bunch of image files into one. And my friend told me this good tutorial to start with.
On that tutorial, the writer doesn’t post any example code, but it seems many have implement the pseudo code posted there. So, I wrote my own code based on that pseudo code.
I wrote the code in Java, and it’s very easy to understand just like the pseudo code.
And here’s the sample image result I’ve from using that code.
All that images file are from Danc’s Site LostGarden.
And here’s the class I’ve wrote:
Posted on 26 December 2009, in Dev, Game Dev, Java and tagged image, Java, texture, texture packer. Bookmark the permalink. 6 Comments.
uhuk2 akhirnya ada juga posting kode 😀
jrit kesindir! *tabok peb*
*numpang lewat*
misi misi… mau bikin game ya?
gak kok… mau bikin salad
longok dikit. DIKIT!