bug: touch-screen button nodes cannot be bound to key mappings

bug: Touchscreen Button Node Cannot Bind Key Mapping.zip (2.1 MB)

AGM Version: 1.0.18

Description:

There are two objects in the project that can move left and right.

The first is a GODOT object, with its root node being CharacterBody2D.

The second is an AGM object, with its root node being GameObject.

They can be moved using the A and D keys on the keyboard or via touchscreen buttons.

Bug Reproduction Steps:

  1. Download and open the project, then press F5 to start the game.

  2. Press the A and D keys on the keyboard to move; both objects will be seen moving.

  3. Use the touchscreen or mouse to press the button at the bottom-left of the screen to move. The GODOT object moves, but the AGM object does not. This is a bug.

This is not a bug; it is the specification for AGM’s input mapping.
At runtime, AGM supports multi-player setups, so it re-registers all existing Action Maps with a controller device ID suffix. It then listens based on the Controller ID number to which each Game Object belongs.