Skip to content

Key Input Processing command issue when two commands are running with a frame of difference #3585

Description

@Mimigris

Make a key input track the direction keys, wait a frame, then track the direction keys in another variable in loop without tracking the first variable.
On EasyRPG, it seems that the second variable cannot be a value that is below the one of the first variable, while RPG_RT has no problem with that.

Game to test:
KeyInputIssue.zip

A parallel process is running which tracks keys, and should make you able to move in diagonal.
Here, if you hold up for example, then left or right, you will be able to move in diagonal on RPG_RT, while on EasyRPG this will not work (since Up is 4 for Key Input, which is higher than the 2 of Left and 3 of Right).
Was found in the Ineluki Keypatch - Demo, in the 8 direction map (though note this is not tied to said patch).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Event/InterpreterInputInput related (gamepads, keyboard mappings, mouse support). For KeyInputProc, add event/interpreter

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions