Hi everyone.
Having trouble trying to get this movement controller working. I have this part of my game where this guy chases the player along a road. The player has to dodge obstacles that are spawned out in front. I have the map set to scroll.
All this stuff is working fine apart from the chasing character. The problem is that sometimes the chasing character will get too close or too far back from the player. I want to have it so the distance between them is the same at all times for cutscene reasons.
I'm pretty sure it has something to do with the way I've set up movement. A parallel event checks if the player is pressing up or down. I think the issue is that there's no cooldown between how often the player can input up or down, so sometimes the chaser hasn't finished their current movement before the player has keyed in another one.
I feel like if RPG Maker could read Key Released instead of just Key Pressed, that would be a way to solve things.
Any ideas on how I could make this work?
Having trouble trying to get this movement controller working. I have this part of my game where this guy chases the player along a road. The player has to dodge obstacles that are spawned out in front. I have the map set to scroll.
All this stuff is working fine apart from the chasing character. The problem is that sometimes the chasing character will get too close or too far back from the player. I want to have it so the distance between them is the same at all times for cutscene reasons.
I'm pretty sure it has something to do with the way I've set up movement. A parallel event checks if the player is pressing up or down. I think the issue is that there's no cooldown between how often the player can input up or down, so sometimes the chaser hasn't finished their current movement before the player has keyed in another one.
I feel like if RPG Maker could read Key Released instead of just Key Pressed, that would be a way to solve things.
Any ideas on how I could make this work?