Hello all!
I would like my player to have their movement speed cut in half while they're moving through "slime." As shown in the video below, my character is recognized as standing "in the slime" while her red rectangular collider (at her feet) is in contact with any of the red circular colliders (this is via QMovement).
While I find it relevant to mention the QMovement plugin, this is probably an eventing problem. I'm just explaining that while the red rectangle (at the player's feet) and red circles are in contact, you can think of the player as standing inside the event, much how a player would normally be standing on top of an evented tile in normal RPGmaker. Each red circle is a separate event.
With that out of the way, while the player is standing inside the event, I would like to slow down the player's movement speed. Many of the solutions I've seen posted for this issue involve player coordinates and regions which doesn't seem viable due to my pixel-based movement setup.
This here is an example of one such event which is supposed to slow down the player while she is standing inside of it (the notetag section is just for setting the dimensions of each circle hitbox.
As you can see, it is triggered by player touch and simply uses a Set Movement Route - Player Speed 3 to try and change the player's movement speed. Evidently, this is the wrong way to do it since:
1. I get a weird "stutter" effect while walking through the event
2. The player is slowed down WAY more than x2 while moving through the event, almost as if the "set move route player speed 3" commands are stacking (which is probably what's happening?)
3. Once I move out of the event, the player's movement speed remains slow
What would be the best way that I should approach this? And of course, please let me know if I can give any other information that would be helpful.
Thank you for your time!
EDIT: Solved - Use a script call for set player movespeed instead of set movement route event command.
I would like my player to have their movement speed cut in half while they're moving through "slime." As shown in the video below, my character is recognized as standing "in the slime" while her red rectangular collider (at her feet) is in contact with any of the red circular colliders (this is via QMovement).
While I find it relevant to mention the QMovement plugin, this is probably an eventing problem. I'm just explaining that while the red rectangle (at the player's feet) and red circles are in contact, you can think of the player as standing inside the event, much how a player would normally be standing on top of an evented tile in normal RPGmaker. Each red circle is a separate event.
With that out of the way, while the player is standing inside the event, I would like to slow down the player's movement speed. Many of the solutions I've seen posted for this issue involve player coordinates and regions which doesn't seem viable due to my pixel-based movement setup.
This here is an example of one such event which is supposed to slow down the player while she is standing inside of it (the notetag section is just for setting the dimensions of each circle hitbox.
As you can see, it is triggered by player touch and simply uses a Set Movement Route - Player Speed 3 to try and change the player's movement speed. Evidently, this is the wrong way to do it since:
1. I get a weird "stutter" effect while walking through the event
2. The player is slowed down WAY more than x2 while moving through the event, almost as if the "set move route player speed 3" commands are stacking (which is probably what's happening?)
3. Once I move out of the event, the player's movement speed remains slow
What would be the best way that I should approach this? And of course, please let me know if I can give any other information that would be helpful.
Thank you for your time!
EDIT: Solved - Use a script call for set player movespeed instead of set movement route event command.