Spritesheet Generator

Share your custom panels, brushes, papers... (you need to be registered to read posts in this section)
Post Reply
User avatar
Thierry
Site Admin
Posts: 1720
Joined: 07 Jan 2013, 08:28

Spritesheet Generator

Post by Thierry » 05 Sep 2017, 15:54

Hello everyone,

Here is a script that I created that can generate a spritesheet of your animations.
spritesheet-generator.tvpx

Here's a short example:

Click on the button in the panel:
spritesheet_forum_1.PNG
The script will run and generate this spritesheet:
spritesheet_forum_2.PNG
A png file containing the spritesheet will be saved in the folder in which your project is stored: my project is named "bluebird4", so the png file will be named "bluebird4_spritesheet"
Aaaand... that's it :)

As you've noticed, there are 5 images per line. If you have less than 20 frames in your animation, there will be 4 images per line.
If you'd prefer the script to generate only one line, then tell me and I will post another version of the script :)
You do not have the required permissions to view the files attached to this post.
P.S. Si votre question a trouvé réponse, marquez votre sujet comme Résolu.
P.S. If your question has been answered, mark your topic as Solved.

---
Avatar by Colombine Majou
---
Thierry CANTET

User avatar
NathanOtano
Posts: 852
Joined: 01 Apr 2014, 07:07
Location: Paris, France
Contact:

Re: Spritesheet Generator

Post by NathanOtano » 05 Sep 2017, 17:22

I have to download rpgmaker again now haha, thanks!
Storyboard, animation and design work : http://nathanotano.tumblr.com/
As I'm highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios. Please don't hesitate to contact me!

User avatar
Animationriver
Posts: 61
Joined: 02 Jul 2017, 09:04
Location: Moscow
Contact:

Re: Spritesheet Generator

Post by Animationriver » 05 Sep 2017, 19:45

You genius!
THANKS!!!

User avatar
ubik
Posts: 322
Joined: 25 Feb 2006, 15:00
Location: Bruxelles - Belgique - Terre
Contact:

Re: Spritesheet Generator

Post by ubik » 07 Sep 2017, 17:26

Thanks for your work with my students to Unity!
"Les amis, tout doit disparaître! Nous soldons la totalité de nos Ubiks électriques, silencieux, à des prix défiants toute concurrence."

tribute27
Posts: 7
Joined: 28 Aug 2015, 18:57

Re: Spritesheet Generator

Post by tribute27 » 11 Sep 2017, 22:55

Thank you!!!!

User avatar
Animationriver
Posts: 61
Joined: 02 Jul 2017, 09:04
Location: Moscow
Contact:

Re: Spritesheet Generator

Post by Animationriver » 13 Sep 2017, 15:45

version -2
Aha))
You do not have the required permissions to view the files attached to this post.

User avatar
mox
Posts: 723
Joined: 13 Feb 2006, 19:24
Contact:

Re: Spritesheet Generator

Post by mox » 18 Sep 2017, 07:47

Cool!
I wonder if a script would work the other way around, from a spritesheet to a (animated) project ? :?:
Jerome Lorin
Portfolio
(Win8/TVP 11.0.8-64 bits pro)

User avatar
Thierry
Site Admin
Posts: 1720
Joined: 07 Jan 2013, 08:28

Re: Spritesheet Generator

Post by Thierry » 18 Sep 2017, 08:28

It would be a lot more complex (and require a bit of user interaction), but I think it should be doable.

(yay, now I have a side-project :D)
P.S. Si votre question a trouvé réponse, marquez votre sujet comme Résolu.
P.S. If your question has been answered, mark your topic as Solved.

---
Avatar by Colombine Majou
---
Thierry CANTET

User avatar
slowtiger
Posts: 2072
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: Spritesheet Generator

Post by slowtiger » 18 Sep 2017, 09:47

I wonder if something could be done with the help of the grid. Import image, adjust grid so it separates all items, then cut along grid lines?
TVP 10.0.18, Mac Pro Quadcore 3 GHz, 16 GB RAM, OS 10.11, QT 7.7.3

User avatar
mox
Posts: 723
Joined: 13 Feb 2006, 19:24
Contact:

Re: Spritesheet Generator

Post by mox » 05 Oct 2017, 09:54

Nothing relevant, but after running the script, I got a new and perfect (generated) project featuring the spritesheet, while the automatic saved picture is empty but at the right size.
Jerome Lorin
Portfolio
(Win8/TVP 11.0.8-64 bits pro)

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests