Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: adrusi on May 24, 2013, 01:26:34 pm

Title: Spritesheet Viewer in Axe
Post by: adrusi on May 24, 2013, 01:26:34 pm
After I modified Ikkerens's sprite creator/editor[1], I figured it would be nice to actually be able to view the sprites together rather than just one at a time.

This program lets you essentially create a rearranged spritesheet on the screen so that you can see how the individual sprites fit together.

When it redraws the entire screen, it's a bit slow. The redraw takes almost a full second on my 84+SE, however, it doesn't do full redraws often.

Interface:
There are no on-screen interface elements, since the entire screen is used for displaying sprites.
While F5 is down, it will display the original sprite sheet so that you can see how to navigate to the sprite you want. It redraws the screen when released.
While F4 is down, it will display only the currently selected sprite. This lets you know which sprite is selected. It redraws the screen when released.
Use the arrows to move the cursor. Every time the cursor moves, it simulates pressing F4, so the screen is redrawn.
+ and - will increment and decrement the x value of the sprite displayed in the selected square. This only redraws the relevant square.
* and / will do the same the the y value.

I've attached just the source, since it's mainly and axe utility anyway, so it's kind of useless on a device without axe.

Bugs (will be fixed):
http://ourl.ca/18969#quickreply (http://ourl.ca/18969#quickreply)
Title: Re: Spritesheet Viewer in Axe
Post by: adrusi on May 25, 2013, 08:05:53 pm
I have an update. This update fixes all the bugs listed above, makes redrawing the screen about three times faster, and adds support for archived picture files.

The utility is actually usable now ;D
Title: Re: Spritesheet Viewer in Axe
Post by: DJ Omnimaga on June 10, 2013, 11:50:13 pm
Does this require the sprite format and data to be generated by Ikkerens sprite editor, or can any sprite editing tool (for example, PixelScape/TileIt) be used?