Page 1 of 1

[TDV] Sprite Sheets Viewer

Posted: Thu Dec 12, 2013 11:40 am
by ilgamer
Hello everyone! I was trying to find a program to view spritsheets like in Game Maker' editor.
So, the easiest way for me in this case is to make all by myself. :)

Here is a screenshot:
Image

What is sprite sheet?
Sprite sheet is a set of sprites presenting a action or static images of something. In most games they used to simplify the code and to make the code run faster loading a sprite sheet once rather loading every sprite one by one.

Running the program
To run the program you need to extract the folder from archive enywhere on you PC. After that, put your sprite sheets in the "Sheets" folder in the program folder. There is already one sprite sheet for demonstration (big brother cares about you). Now drag the folder "[TDV] Sprite Sheets Viewer" to your Love2D icon to run it. Here you go!

Choose 'anim_0' sprite sheet. Change width and height to 128. You must be able to see how the animated sprite apeared in the right part of the window.

Download
GitHub
Last build

If you have a question, you are welcome!

Re: [TDV] Sprite Sheets Viewer

Posted: Thu Dec 12, 2013 1:21 pm
by AnRu
Needed thing, thx =)

Re: [TDV] Sprite Sheets Viewer

Posted: Thu Dec 12, 2013 2:05 pm
by ArchAngel075
This looks pretty useful indeed, i am curious if its possible for you to allow overlays?
For instance a sprite sheet of a base character, then a sprite sheet of armor for that character.

Would be great to see what offsets will be needed and how the animations blend?

Otherwise this is great!

Re: [TDV] Sprite Sheets Viewer

Posted: Thu Dec 12, 2013 4:06 pm
by Ref
This may be off topic but could be rolled into present topic.

Have struggled with creating quads for unordered and random sized sprites.
Currently only have a preliminary attempt -( hard wired to a specific spritesheet for continuous running).
Currently only allows finding location and dimensions of each sprite which then has to be manually recorded (could easily be saved to a file).
My interest is in coming up with a search function to automatically find locations & dimension of each sprite for me.
Should be possible since background has alpha = 0.
Any help out there?

Re: [TDV] Sprite Sheets Viewer

Posted: Thu Dec 12, 2013 8:06 pm
by SiENcE
Why not share it on github to let more people work on this great tool :).

Re: [TDV] Sprite Sheets Viewer

Posted: Fri Dec 13, 2013 3:00 am
by Mermersk
Might be very useful ! :crazy:

Re: [TDV] Sprite Sheets Viewer

Posted: Fri Dec 13, 2013 4:18 am
by ilgamer
AnRu wrote:Needed thing, thx =)
Спасибо :)
ArchAngel075 wrote:...i am curious if its possible for you to allow overlays?
Good idea! Wait for the next update!
ArchAngel075 wrote:Would be great to see what offsets will be needed and how the animations blend?
The offset (x and y text fields) are used to move the rect of the sprite. You can group your animations like that:
Image

If you want to test walking on the right you should set the y value to <person height>*2. Then set Frames count to 3 and set the width and height of the rect.
SiENcE wrote:Why not share it on github to let more people work on this great tool :)
Ok, I'll make a repo and post the link here. Thank you!
Mermersk wrote:Might be very useful ! :crazy:
Glad to hear it, dude!