[TDV] Sprite Sheets Viewer

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
ilgamer
Prole
Posts: 10
Joined: Fri Apr 12, 2013 5:55 am

[TDV] Sprite Sheets Viewer

Post 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!
Last edited by ilgamer on Fri Dec 13, 2013 5:28 am, edited 2 times in total.
User avatar
AnRu
Citizen
Posts: 69
Joined: Sun Oct 27, 2013 1:33 pm
Contact:

Re: [TDV] Sprite Sheets Viewer

Post by AnRu »

Needed thing, thx =)
User avatar
ArchAngel075
Party member
Posts: 319
Joined: Mon Jun 24, 2013 5:16 am

Re: [TDV] Sprite Sheets Viewer

Post 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!
User avatar
Ref
Party member
Posts: 702
Joined: Wed May 02, 2012 11:05 pm

Re: [TDV] Sprite Sheets Viewer

Post 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?
Attachments
analyze_spritesheet.love
Very preliminary spritesheet analyzer
(49.89 KiB) Downloaded 134 times
User avatar
SiENcE
Party member
Posts: 797
Joined: Thu Jul 24, 2008 2:25 pm
Location: Berlin/Germany
Contact:

Re: [TDV] Sprite Sheets Viewer

Post by SiENcE »

Why not share it on github to let more people work on this great tool :).
User avatar
Mermersk
Party member
Posts: 108
Joined: Tue Dec 20, 2011 3:27 am

Re: [TDV] Sprite Sheets Viewer

Post by Mermersk »

Might be very useful ! :crazy:
ilgamer
Prole
Posts: 10
Joined: Fri Apr 12, 2013 5:55 am

Re: [TDV] Sprite Sheets Viewer

Post 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!
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest