Last Updated: 2011.12.06
Download Link
Github Link
This script allows certain tiles to force the player to move in one direction and continuing moving in that direction until the player is off of those specific tiles. Similar to conveyor belts or gravity tiles (from games like Chip’s Challenge), these tiles only move the player in one direction.
—
Bind terrain tags to correspond to force moving players in specific directions. Insert these following notetags inside of a Tileset notebox and apply the proper terrain tag you want for each force move tile.
<force up: x> <force up: x, x> <force down: x> <force down: x, x> <force left: x> <force left: x, x> <force right: x> <force right: x, x>
By marking specific terrain tags with x and using these notetags, you can have a tile specifically move the player in that direction until the player is off of a force move tile or until the player hits an object.
— And that’s all, folks! —
Wow, I can really make a lot of contraptions for that!
As always, you have left me in awe with your work. :3
Is it possible to include events as well?
I’m sorry i didnt clarify… i ment when event X steps on terrain tag then it will force that event to force to move to specified direction… the above link given by noob is for when player steps on terrain tag then it triggers common events. I didnt mean that.
You can do the same shit. Just event it.
u can? can u give me an example please thanks
nevermind i figured it out… but that would be alot of work.. any easier way like using the above notetags but for events? thanks for your inputs
Man, you guys rather it require no effort in making games, huh?
Is there a way to freeze a character’s movement animation while on a force move tile (like with the Slippery Tiles script)? That way while a player is being whisked around on quicksand, conveyor belts, etc. it looks a little less quirky.
I’m extremely late, but you can try creating a separate sprite set for a character that has no animation frames, and change to that when a character is on a moving tile.
I’m even later, but if you’re using both scripts you can add in:
def pattern
return YEA::SLIPPERY_TILES::SLIDE_FRAME if on_force_move_tile?
return @pattern
end
at around line 238 and it’ll work if this script is placed below SlipperyTiles. Without slipperytiles it wouldn’t be very hard to add this in either, but since I’m using both I don’t feel like trying to work that out entirely.
Oops, make that second line return YEA::SLIPPERY_TILES::SLIDE_FRAME if on_force_move_tile? || slippery_pose?
How do i change the speed?
Link is broken :(
I love the script. I have modified it to have a force continue tile (where it performs a move_forward instead of move_straight(direction) when the player touches it). This allows for easier mapping, and more complex puzzles.
I however am stumped and was wondering if you could help. I want to modify it so it will only force movement if the player first touches an up/down/left/right tile (not a force_continue) so in the case the player can normally walk over those tiles like normal, until an up/down/left/right tile is hit, then it will trigger the forced movement like normal. Any tips?
Nevermind, I figured it out. I added a flag that gets set on the up/down/left/right variable and gets removed on a non-force move tile.
Does it allow you to make the players slow down if they try to walk in the opposite direction?
The link is broken :C