Making icy floors!

Hello,

I'm currently working on one of those classic/cliche "ice floor" puzzles. I'm using that lovely Yanfly regionEvent plugin for the ice, and i've been able to make the floor work ALMOST properly. However, when i use the mouse to move, i'm able to override the slipping event and "break" the puzzle. Is there a way to disable and later re-enable mouse control? I'd prefer not to use plugins, but if there's no other way, i'll do it. Thanks in advance!
Can anyone help with this issue? I found some guides from older versions, but i have no way of knowing how applicable they are.
I don't know any plugins that disables and re-enables mouse control within the game but I only know one that disables it entirely though. It's Galv's Disable Mouse plugin.

Sorry if this didn't helped much...
Yeah, sadly i only need it for short windows of time, while the player is "slipping on ice." I guess if there were a way to briefly disable all player input during that window, that would also work.


Or, maybe i'm looking at this problem the wrong way and just need a different method of causing the floor to be slippery? Right now i'm using the yanfly region event plugin and a script that makes the player move forward. Is there a better way?
Setting a Player Touch event that triggers direction fix and through on will give you the ability to do that, but you'll have to input a move route. I put arrows on the floor, and had the character move when they were stepped on, in the direction of the arrow.

Not sure if that's what you're looking for =3
For a puzzle that uses directional panels, that would be a good solution. This one is an ice floor with lots of different ways the player could go. Its technically possible but eventing it that way would take years off my lifespan XD


is there a way to do that kind of eventing without having to put in exact routes? For example by using the "repeat" option and some kind of collision ddetection?
@blacksmithy


- There very well may be a way to do it, but as far as my knowledge goes, this was all I was able to figure out. Fingers crossed someone with more experience can help you out! =o
This is based off of VX Ace knowledge, but should still be applicable.


Below player, player touch, set move route. Direction fix. Conditional branch, player facing up. Set move route up, repeat, skip if not possible. Else, down, move route down, repeat, skip if not possible, else, move route left, repeat, skip, else right, repeat, skip. After that conditional branch, another move route that turns off direction fix.


Assuming events still process from top to bottom, this will remove the players ability to change direction once they're "set" on a path, so, they should only be able to move in that direction. Since it will repeat the move route until the player doesn't move, it should take them the whole way across. Once they've stopped moving, the event will continue down the conditional branches (which won't be "true"), and will turn off direction fix, once more allowing for player input.
HERE (in the spoiler) is a video tutorial by the amazing Echo67, on how to do puzzles and the bit on how to make icy floors starts at 4mins and 34seconds!

That tutorial is great, but it doesn't address the bug that happens when you enter new coordinates via mouse/touch while sliding. Is there a way to prevent changing direction mid-slide?
Hello,


I'm currently working on one of those classic/cliche "ice floor" puzzles. I'm using that lovely Yanfly regionEvent plugin for the ice, and i've been able to make the floor work ALMOST properly. However, when i use the mouse to move, i'm able to override the slipping event and "break" the puzzle. Is there a way to disable and later re-enable mouse control? I'd prefer not to use plugins, but if there's no other way, i'll do it. Thanks in advance!

Yanfly's Slippery Tiles plugin would do the trick, I'm pretty sure.
Thank you! Does that plugin prevent the bug i described?

Original thread: https://forums.rpgmakerweb.com/threads/making-icy-floors.55122/