I'm making a game where the player fights enemies in the overworld via common events. You stand next to the enemy, facing them, hit a button to attack, and if the player touches them or is touched by them, they take damage, pretty simple.
The problem I'm facing is when you go to sneak attack an enemy right from behind and you're not facing them, attempting to face them just makes you walk right into them to recieve damage. (As seen in the attached clip)
The only way around this is to walk an extra tile away and then move behind them so you can attack, so I'm looking to cut out this requirement.
I'm wondering if there are any techniques or scripts that make it so if you tap a direction key, you face that direction instead of walking instantly, and obviously if you keep holding it, you start moving.
I'm not a seasoned MV user so I could be missing something.
Any ideas?
Cheers!
The problem I'm facing is when you go to sneak attack an enemy right from behind and you're not facing them, attempting to face them just makes you walk right into them to recieve damage. (As seen in the attached clip)
The only way around this is to walk an extra tile away and then move behind them so you can attack, so I'm looking to cut out this requirement.
I'm wondering if there are any techniques or scripts that make it so if you tap a direction key, you face that direction instead of walking instantly, and obviously if you keep holding it, you start moving.
I'm not a seasoned MV user so I could be missing something.
Any ideas?
Cheers!