Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Munchor on March 10, 2011, 04:40:23 pm
-
I just made a new program to help you getting the hex code for images, here's a screenshot of it:
I hope this comes handy for Axe programmers!
(http://img.removedfromgame.com/imgs/binPic2Hex.png)
It's very simple, but it has advantages too, it's fast, simple to use and very portable (one file).
Attached is a .py file, so you need Python 2.6 to run it.
I'll be adding more features soon, but still trying to keep it simple since that is its goal.
-
Nice, I unfortunately can't try it now but do you type each line one by one then it outputs the hex? Does it supports multiple sizes? (16x16 would be nice, with the ability to split the sprite in 4 parts for use in Axe)
-
Yes DJ, you type each line, multiple sizes are possible, I just have to add an initial input for the number of lines.
(http://img.removedfromgame.com/imgs/binPic2Hex2.png)
What do you think of that?
-
looks good scout. ;)
i tried an on-calc bin to hex in which you just selected the area to convert. pitifully it would only do 8x8 and it got erased by a ram clear :(
-
I also think that a way to do things like 16x16 sprites would be really cool as well :)
-
I also think that a way to do things like 16x16 sprites would be really cool as well :)
It does 16*16, just doesn't given the code in separate ways, but I'm working on it now.
-
Seems fine to me so far. :D
-
Seems fine to me so far. :D
I'm making it Java+GUI now and adding that function to split the code, gonna be pretty much epic I hope.
-
Cool to hear. Keep us updated. :D