Custom move system

Honeycam 2018-12-29 00-43-34.gif

I have created a custom move system
Moves if the character is looking in that direction when the direction key is pressed
If you see a different direction than the direction key, change the direction

Movement is no different from the basic system
However, there is a difference when you press the key once and keep it pressed

I want to create a custom battle system
As with most custom battle systems, you have to look at the direction of attack in order to attack
But if you try to look at the direction you are attacking, you will be attacked by the enemy
I wanted to solve this part.

If you do not put a 'wait' next to your turn, your character will move right away
If you put 'wait', it takes time to change direction as shown above
When attacking an enemy while raning, press once to change direction only
However, if you try to move continuously, there will be a break every time you change direction
It's uncomfortable

Are there any better ideas or examples?
Honeycam 2018-12-29 01-58-15.gif

In addition, there are many questions about character motion designation
One of them is like the image above

I tried to create a sparkling effect on the player character for a certain amount of time when I hit a certain event

If the switch is on, reduce the transparency of the player and insert a 'wait'
Increase transparency again and insert 'wait'

The event is configured as above
However, if the character moves, the above event will be delayed.

I do not know how the character movement event handles

At the top of the question, check the direction the character is looking at, move else turn direction
Although configured in this way, some events are ignored when you set the frequency of movement
So I was forced to put 'wait' and it looks like it's hanging.

What does movement frequency exist for and why is it sometimes ignoring events and sometimes performing events at a high rate?
First problem. I used to want make this same, but I had this same problem, so I resigned.
Maybe solution is other way, for example movement system default and made change directions with pressed "shift" and direction button.

Second problem - this is surely a problem with working a touch events with "key input proccesing" command working somewhere in background - in this situation "touch starting" events not start always. The best solution is still save hero coordinates and event coordinates to variables and compare this and start event if they are compatible - a lot of work... But if you doing first problem how I wrote, maybe second problem disappear.

Wait. Wrong, second problem is another than I think. Unfortunatelly I don't know how this solve - maybe try use a battle animation?

Original thread: https://forums.rpgmakerweb.com/threads/custom-move-system.103771/