I'm trying to implement controls like Doom Eternal which has the pressing the Q button switch weapons and holding Q open the weapon menu. When I try this in Construct 3, holding Q down completes both actions, switching the weapon and opening the weapon menu. Is there a way to ignore the Q pressing action in favor of holding Q down?
Develop games in your browser. Powerful, performant & highly capable.
You will need several events:
On Q Key Pressed: start a timer, say for 0.5 seconds.
On Timer: open menu.
On Q Key Released and if the timer is still running: stop that timer, and switch weapons.