anotherworld icon indicating copy to clipboard operation
anotherworld copied to clipboard

No Running Implemented?

Open ekianjo opened this issue 2 years ago • 3 comments

Hi, I seem to be unable to run in the game - typically you run in another world by having the left or right direction pressed as well as the space bar at the same time, but it's either not supported or it does not work for some reason.

I checked the input code, and it looks like this condition is missing:

image

Could you confirm?

ekianjo avatar Aug 16 '22 15:08 ekianjo

I can confirm that running support us not in this code.

One issue that prevents this from working is that the graphics device keyboard callback will only detect a single key at a time.

This means you cannot currently detect two keys simultaneously (except for ctrl and shift modifier keys).

One workaround may be used the mouse button as an action key instead.

coolbutuseless avatar Aug 16 '22 20:08 coolbutuseless

I can confirm that running support us not in this code.

One issue that prevents this from working is that the graphics device keyboard callback will only detect a single key at a time.

This means you cannot currently detect two keys simultaneously (except for ctrl and shift modifier keys).

One workaround may be used the mouse button as an action key instead.

coolbutuseless avatar Aug 16 '22 20:08 coolbutuseless

thanks for the answer!

This means you cannot currently detect two keys simultaneously (except for ctrl and shift modifier keys).

Would "shift + space" work then? Or does it need to return a valid key code for the shift keypress to be accepted in that sense?

One issue that prevents this from working is that the graphics device keyboard callback will only detect a single key at a time.

is there a way to remove this limitation? (what would be needed to do so?)

ekianjo avatar Aug 22 '22 16:08 ekianjo