HOME | DD

KleinStudio — [SCRIPT] Unlimited Animated Tiles for Essentials

#animated #essentials #pokemon #tiles
Published: 2015-06-22 21:01:26 +0000 UTC; Views: 10945; Favourites: 50; Downloads: 114
Redirect to original
Description
Updated 29/6/2015
Changelog V1.1
*Fixed minors bugs.
*Fixed a bug with the tile sync, now the tiles sync like real autotiles  
*improved code.
Thanks to 44tim44 for help testing the out of sync bug and report the bug

I will never know why RPG Maker do not support more that 7 animated tiles per tileset, flowers, water, and a lot of more things are sometimes needed and maybe 7 are not enough. With this script you will be able to make animated tiles (no autotiles).

If you're using Pokemon Essentials BW this script will only works well in 3.1.1 and future releases, make sure you have your project updated!

If you're using V1 and you don't want to redownload everything again, you can download a update file from the website.
Download: pokemonfangames.com/script.php…

I've done lots of tests and didn't have errors or problems but if you have tell me.

How this works
First, we have to create a new tileset that will contain all the tiles we need to animate, after this you just need to configure the animation for every animated tile you want in the script. There's a explanation in the script.
After this, the game will swap tiles for make the animation, just like animated autotiles works.
The speed of the animations are the same that autotiles speed. I've already a version working with custom speeds for animations but it need more work before I can release it.

How to use in my own game
Copy and paste the script KleinAnimatedTiles above main in your game's scripts and modify the settings if needed.
Related content
Comments: 41

Pokemon-Subrosia [2018-06-16 14:11:14 +0000 UTC]

In Essentials v17 adding this will make bridges not work anymore. I found one possible quick fix for this.

The way to fix it is in the end of this first post here:

www.pokecommunity.com/showthre…

👍: 1 ⏩: 0

kronfarore [2017-04-26 19:04:16 +0000 UTC]

I think there is an issue with the bridge event: the player appears under the bridges instead over.

👍: 0 ⏩: 1

Pokemon-Subrosia In reply to kronfarore [2018-06-13 23:56:28 +0000 UTC]

This is still a problem in the current version. I tried to take a look at the scripts to debug this but couldn't find it yet.

I'll say something here in case I succeed.

👍: 0 ⏩: 0

MallowBlossom [2016-09-24 13:52:07 +0000 UTC]

Noice

👍: 0 ⏩: 0

maarten12 [2016-07-19 10:50:29 +0000 UTC]

Do you also have the Pokemon essentials Windowskin script. An tool to made the borders bigger with arrow picture

👍: 0 ⏩: 0

SvenBuchholz [2016-05-17 10:36:30 +0000 UTC]

Hey Klein,

I dont want to use the 001 Tileset for this.
I wanto use my Tileset with the ID 023.
How can I change it?

In your script I can see this here:
# *Before adding animated tiles to a tileset, you need to initialize it
#  to make that just write this before the tileset tile setting:
#    KleinTiles[TilesetId]=[]

Where do I find the tileset tile setting?

👍: 0 ⏩: 1

KleinStudio In reply to SvenBuchholz [2016-05-17 11:14:17 +0000 UTC]

# Initialize the array for tileset 1
KleinTiles[1]=[]
# Flower animation
KleinTiles[1].push([208,[9,10,9,8]])
# Sea animation
KleinTiles[1].push([209,[0,1,2,3,4,5,6,7]])
# Water rock animation
KleinTiles[1].push([210,[16,17,18,19,20]])
# Waterfalls animation
KleinTiles[1].push([211,[24,25,26,27]])
KleinTiles[1].push([212,[32,33,34,35]])
KleinTiles[1].push([213,[40,41,42,43]])
# Fire animation
KleinTiles[1].push([216,[28,29,30,29]])
KleinTiles[1].push([224,[36,37,38,37]])

Just edit the [1] with the tileset id you want

👍: 0 ⏩: 0

yakky1 [2016-04-10 03:06:03 +0000 UTC]

I can't find the KleinAnimatedTiles script.

👍: 0 ⏩: 1

KleinStudio In reply to yakky1 [2016-04-13 11:44:57 +0000 UTC]

That's the one in the .txt file

👍: 0 ⏩: 0

giorgioz [2015-12-06 17:53:04 +0000 UTC]

I can't seem to find the KleinAnimatedTiles Script.

👍: 0 ⏩: 0

Deorro [2015-09-24 21:34:24 +0000 UTC]

Hey man, how far are you with the custom speeds for animations?

👍: 0 ⏩: 1

KleinStudio In reply to Deorro [2015-09-24 23:57:59 +0000 UTC]

I did them but custom speeds means reload the map everytime for map the new autotiles and it was so laggy. Maybe with my bitmap funcs dll I can make them work fine now, I totally forgot about the custom speed thing.
My time is very limited but do you think that feature is really useful?

👍: 0 ⏩: 1

Deorro In reply to KleinStudio [2015-09-25 10:07:50 +0000 UTC]

Yeah, for me the feature is really useful.
I found out that most of my tile animations are a bit slow and they need to go a bit faster.
I don't know where I can change the speed for all the animated tiles, since that would also be a solution to fix the animations.

👍: 0 ⏩: 0

ShoutyDog [2015-09-20 08:40:26 +0000 UTC]

I have copied the script and edited the parts i need to for flowers to animate and i get an error. D:

👍: 0 ⏩: 1

KleinStudio In reply to ShoutyDog [2015-09-21 00:26:45 +0000 UTC]

Can you show me the error?

👍: 0 ⏩: 0

Midnitez-REMIX [2015-06-29 18:53:53 +0000 UTC]

As great as this is, wouldn't all those animated tiles make the game super laggy?

👍: 0 ⏩: 1

KleinStudio In reply to Midnitez-REMIX [2015-06-29 19:16:59 +0000 UTC]

Nope, the game will not get lag with this even if all your map is animated (or at least it shouldnt)

👍: 0 ⏩: 1

Midnitez-REMIX In reply to KleinStudio [2015-06-29 19:20:06 +0000 UTC]

That seems hard to believe, but okay.

👍: 0 ⏩: 1

KleinStudio In reply to Midnitez-REMIX [2015-06-29 19:33:35 +0000 UTC]

The game doesn't load all the map and it's not loading all the frames at the same time, that's why it doesn't give lag.

👍: 0 ⏩: 1

Midnitez-REMIX In reply to KleinStudio [2015-06-29 19:38:46 +0000 UTC]

Okay.

👍: 0 ⏩: 0

PeekyChew [2015-06-28 21:32:10 +0000 UTC]

Oh my god. Just a few weeks ago I spent ages on a bad work around to get an animation working, this would have been so helpful. Thanks so much!

👍: 0 ⏩: 1

KleinStudio In reply to PeekyChew [2015-06-29 00:12:48 +0000 UTC]

You're welcome! Thanks for comment
If you need help with the script or you have any error/problem, tell me!

👍: 0 ⏩: 0

44tim44 [2015-06-28 12:39:45 +0000 UTC]

Okay, I actually got a problem. When using seatiles with your script, the animations are out of sync when going across a map connection.
I also seem to have the sync problem in general. This happens: i.imgur.com/OHWNzSc.png

👍: 0 ⏩: 1

KleinStudio In reply to 44tim44 [2015-06-28 12:54:21 +0000 UTC]

All the animations have the same speed so you have to be sure the first frame is the same for all of them, if you're still getting problems you can tell me in a Note so we can talk better

👍: 0 ⏩: 0

44tim44 [2015-06-28 11:48:03 +0000 UTC]

OH MY GOD I LOVE YOU.
Thank you SO much, for being awesome! ;__;

👍: 0 ⏩: 0

crispybacon1234 [2015-06-23 09:04:24 +0000 UTC]

Great work Klein, but then again what else would we expect.

This will definitely come in handy, keep up the great work!

👍: 0 ⏩: 1

KleinStudio In reply to crispybacon1234 [2015-06-23 10:05:28 +0000 UTC]

Thanks you so much!

👍: 0 ⏩: 0

rayd12smitty [2015-06-23 05:13:20 +0000 UTC]

As always, excellent work!

👍: 0 ⏩: 1

KleinStudio In reply to rayd12smitty [2015-06-23 10:05:18 +0000 UTC]

Thanks you!

👍: 0 ⏩: 0

notadeadmoth [2015-06-23 00:09:11 +0000 UTC]

*tears of joy* THANK YOU!!!!!!!!! <3

👍: 0 ⏩: 1

KleinStudio In reply to notadeadmoth [2015-06-23 10:05:12 +0000 UTC]

You're welcome!

👍: 0 ⏩: 0

superminijoseph [2015-06-22 22:53:38 +0000 UTC]

Very awesome as usual Klein. Would love to know how you figure these scripts out.

👍: 0 ⏩: 1

KleinStudio In reply to superminijoseph [2015-06-22 23:21:04 +0000 UTC]

Thanks you so much! I really appreciate the support

👍: 0 ⏩: 0

Rayquaza-dot [2015-06-22 22:20:37 +0000 UTC]

Awesome. Autotile limitations have been a problem for ages. Thanks.

👍: 0 ⏩: 1

KleinStudio In reply to Rayquaza-dot [2015-06-22 23:21:25 +0000 UTC]

You're welcome!

👍: 0 ⏩: 0

Manuxd789 [2015-06-22 21:45:32 +0000 UTC]

Maldito y sensual Rafa y sus malditos y sensuales scripts... Jajajajaja muy muy aporte. Mañana mismo lo testeo ^^

👍: 0 ⏩: 1

KleinStudio In reply to Manuxd789 [2015-06-22 21:58:45 +0000 UTC]

Uy, uy, que me pongo colorao'.

👍: 0 ⏩: 0

Dawn-Bronze [2015-06-22 21:11:15 +0000 UTC]

Wow, you're just so amazing! Two scripts in one day? Fantastic!

👍: 0 ⏩: 1

KleinStudio In reply to Dawn-Bronze [2015-06-22 21:58:27 +0000 UTC]

Sometimes I finish a script and do not release it until a day that I see it can be useful, that's why I release things that fast haha

👍: 0 ⏩: 0

CallMeGav [2015-06-22 21:10:24 +0000 UTC]

Finally, sir you are a life saver. Thank you so much for this!

👍: 0 ⏩: 1

KleinStudio In reply to CallMeGav [2015-06-22 21:57:14 +0000 UTC]

I'm glad you like it! 

👍: 0 ⏩: 0