Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wait for key input command allows to use other keys than enter if a key input command of said key is called just before #3190

Open
Mimigris opened this issue Feb 14, 2024 · 0 comments

Comments

@Mimigris
Copy link

Name of the game:

Yume Tsushin (梦通信) version 0.00+α.

Player platform:

Windows, 64 bits continuous build of the player.

Describe the issue in detail and how to reproduce it:

In the RPG_RT, if a Wait for key Input command is called just after a Key Input Processing command, keys from said command will be able to be used to pass the Wait for key Input even if said key is not the enter key. This part is not replicated in EasyRPG, where only enter is able to be used to pass the Wait for key Input in any case.

In this example, where the key tracked is Shift only and where no wait is done in the key input, pressing Enter will allow you to display the text, but pressing Shift will also allow you to display the text, since this key is tracked in the key input process. Note that pressing X or any other key not present in the Key Input Processing will not do anything.
image

This issue can be seen in the game Yume Tsushin: In the Map 41, a flight event exists using pictures, where pressing the arrow keys allow you to move your picture and pressing the cancel key allow you to exit the map. Thing is, part of the common event handling uses a wait for key input command in the loop, making it not work unless you hold the key that you want to use and then press or hold enter in EasyRPG.
moon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant