← Back to all addons

Snippet: Auto Generate Spritr Animation

Posted by Mr.Titan on Jan 7, 2025 at 11:38 PM

FeatureEditor
💡 3 👍 1

Auto generate Rule Tile with auto generated animation from you sprite, ready to be pasted in your pallet and used… nothing else to be done.

Right click of the sprite and “Generate Animation Tile” BOOM done! 1 hour saved of your time!

I got bored of making a Rule Tile and drag and drop all the sprite to make a animation, since im using a different asset, i have to replace all the existing ones.

This saved days of my live!

https://github.com/RicardoRibeirorr/Unity-Snippets/blob/main/Tiles/CustomAnimatedRuleTile.cs

💬 Comments (4)

SvanDark Jan 07, 2025 at 11:43 PM

So if i understand this correctly,

I make a new script, copy and paste this in the script,

Then all i have to do is right click on a sprite(s), and it makes the animation for me?

Mr.Titan Jan 07, 2025 at 11:45 PM

Yes! A tile ready to be used in your game.

Just right click->Generate Custom Sprite Animation and done. Now drag to you pallet and its ready to use.

SvanDark Jan 07, 2025 at 11:46 PM
Well would you look at that, I was literally JUST animating stuff, and this will make it so much easier, thank you!
❤️ 1
Mr.Titan Jan 07, 2025 at 11:48 PM
As always - glad to help! 🍻

Want to continue the conversation?