as i was putting together the sprite renderer demo above, i updated my little texture conversion utility texprep
to version 1.1.5
1.1.6
. this release brings a new output format flag, -txt
, which will save the converted image to a text file with the pixel data encoded as an argb 32-bit int array[]
(a quick and easy way to get textures into projects during prototyping & testing, without having to implement file loading and image decoding), like this: https://gist.github.com/d7samurai/8f91f0343c411286373161202c199b5c#file-xtra-h
texprep 1.1.6
can be downloaded from https://gist.github.com/d7samurai/9f17966ba6130a75d1bfb0f1894ed377#texprep