I want to reduce speed on diagonal movement, but I don't know how do code it properly.
Also, how do you deal with Left + Right and Up + Down conflict?
If you code something like
if (L) xFlag= -1;
if (R) xFlag= 1;
if (U) yFlag= -1;
if (D) yFlag= 1;
Move (xFlag, yFlag, framespeed)
You have Right and Down overwriting Left and Up when you press them together.