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:
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!
[TDV] Sprite Sheets Viewer
[TDV] Sprite Sheets Viewer
Last edited by ilgamer on Fri Dec 13, 2013 5:28 am, edited 2 times in total.
- ArchAngel075
- Party member
- Posts: 319
- Joined: Mon Jun 24, 2013 5:16 am
Re: [TDV] Sprite Sheets Viewer
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!
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
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?
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 136 times
Re: [TDV] Sprite Sheets Viewer
Why not share it on github to let more people work on this great tool .
Re: [TDV] Sprite Sheets Viewer
СпасибоAnRu wrote:Needed thing, thx =)
Good idea! Wait for the next update!ArchAngel075 wrote:...i am curious if its possible for you to allow overlays?
The offset (x and y text fields) are used to move the rect of the sprite. You can group your animations like that:ArchAngel075 wrote:Would be great to see what offsets will be needed and how the animations blend?
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.
Ok, I'll make a repo and post the link here. Thank you!SiENcE wrote:Why not share it on github to let more people work on this great tool
Glad to hear it, dude!Mermersk wrote:Might be very useful !
Who is online
Users browsing this forum: No registered users and 2 guests