Main Menu
  • Welcome to The RPG Maker Resource Kit.

[Request] Ice Sliding Puzzle

Started by virusasa, December 05, 2009, 05:50:25 PM

0 Members and 1 Guest are viewing this topic.

virusasa

Hi :)

There is a puzzle in Pokémon Gold/Crystal/Silver in a ice cave. When you step on icy ground you start to slide and cant stop before you hit something or somewhere.

Can anybody make a puzzle like this please ?

Thank you.

ps
Sorry about my bad English :)

Grafikal

Not necessary for a script. I'm moving to Tutorials/Events.

If someone doesn't pick this up, post your request at Zylos' Puzzle/Event Shop (VX). When he gets the time, I'm sure he could make it. This kind of puzzle is a pretty basic puzzle.

virusasa

Thanks grafikal. I thing I will ask for it now. Thanks again. :)

joy

I had one of these laying around in an old project, so here you go:



Make your movement events like so...make 4 conditional branches, one each for left facing, right facing, up facing, down facing..yadda tadda... make the number of times it forces a move equal to the distance to the edge of the ice for that tile. (I'm lazy..and only made it equal for where you can -step- off ice..you can have it move a million times if it's a wall collission, so I didn't bother counting out distance to walls for each square). Make sure it's set to player touch and below player.



Your set move route events should be set up like this..turn off stepping/walking animation, move whatever direction however many times. Make sure that you have it set to skip if cannot move and wait for completion.

On the areas where you can step off the ice, just place a simple event which sets move route to step/walk animation back on.


Since you are ignoring impossible moves, you can place any number of blocking events/objects, so long as they are impassable, your character will slide into them and stop, withough freezing the game's processing, so long as skip if cannot move is on..

virusasa


OverlordVulcan

Alternatively, you could also try putting events on every single ice tile with the Set Move Route as Move Forward.

Just remember to set Skip if Cannot Move and Wait for Completion.
Online Fanarts Protection - I realised it stopped updating, but I deem it a good cause to promote

Grafikal

Uhh, no. Do not do what he said. Not unless you want a retarded amount of lag.

OverlordVulcan

Well, it depends on the size of your puzzle. :/

I tried it once and it didn't lag at all.

Though I just copied the puzzle format straight out from Mahogany Gym in Pokemon, so the map wasn't particularly large at all.
Online Fanarts Protection - I realised it stopped updating, but I deem it a good cause to promote