Slippery Tiles

Last Updated: 2011.12.03
Download Link
Github Link

Want slippery tiles without needing to make hundreds of events? Now you can! This script binds slippery tile properties to individual tiles through usage of notetags and terrain tags.

Bind slippery properties to tiles through notetags and terrain tags. Any tiles that possess a terrain tag that corresponds to a slippery number in the notebox will gain slippery properties.

<slippery: x>
<slippery: x, x>

Sets the tiles marked with terrain tag x to be slippery for that particular tileset. When the player walks over a slippery terrain, the player will keep moving forward until stopped by an object or until the player lands on ground without slippery properties.

The player and caterpillar members will keep sliding forward until they hit an object or land on normal ground. The slippery properties are exclusive to that particular tileset used so remember to load up the tileset with slippery tile properties if you want your player to slide around.

And that’s all, folks!

27 comments on “Slippery Tiles

  1. You never fail to amaze me. This will be very useful for puzzles and also just to slide the player around for the shear fun of it.

  2. I love this script!!!.

    In the same fashion of this script may be can you create a quicksand one? in which the player can’t be over the same tile more than X number frames or it will drown?. That could be an awesome script too.

    • Hi Tyler. If you change line 195 of the script from “return false if on_slippery_floor?” to “return true if on_slippery_floor?” you will slide at a faster speed. That gives you two speed options :)

  3. This is great! A pretty useful puzzle-making tool.

    Although, it would be cool if you updated it with the option for the player to slow their momentum by moving in the other direction while sliding.

    • Hi Obrusnine. If you comment out line 195 of the script (return false if on_slippery_floor?) dashing will make you go faster. You could alternate between fast (dashing) and slow (normal). This might give you the effect you were looking for :)

  4. Hey YF, great script, I was wondering if you could make it so the forward momentum ceases when you hit an obstacle, I was going to have puzzles involving the slide being stopped by blocks that move, but if the obstacle moves out of the player’s way, the player keeps sliding in the direction they were before.

  5. Could you add a feature to where you can equip an accessory like ‘Kleets’ or ‘Anti-Slick Shoes’ so that they won’t slide around when wearing them?

    • You could set the map to not have random encounters on every tile by default in the map properties, and not put any region tiles for encounters on the slippery tiles. That probably didn’t make any sense.

  6. So… your Dropbox has been disabled because of excessive traffic.

    This means that while you must be doing some great work to warrant that traffic, we can’t get in. :'(

  7. When I click download, the dropbox says “Error (429) This account’s public links are generating too much traffic and have been temporarily disabled!”
    It’s like this for nearly two weeks now and makes it nearly impossibla to put anything from here into my script.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s