📎 Webclip
Everything I Learned About Dual-Stick Shooter Controls
The post gathers the author’s control lessons from building Relic Hunters Zero. It focuses on analog stick input, aiming behavior, camera handling, and the way small implementation choices change how a game feels.
Reading notes#
- Analog stick input needs a proper deadzone, and the correct way is to treat both axes as one vector and compare its length to the threshold.
- Checking X and Y deadzones independently creates bad diagonal input and a square-like feel.
- Dual-stick shooters differ from FPS controls because the firing direction follows the stick direction directly and the player keeps holding the aiming input.
- Because of that, actions performed while aiming should be mapped to triggers or shoulder buttons, and the design should not expect face buttons to be used at the same time.
- Aim should not snap directly to input; it should be interpolated from a target direction to a view direction with a set rotation speed.
- Aim sensitivity can change by situation, with higher sensitivity for regular aiming and lower sensitivity for special aim modes such as laser sight aiming.
- Sticky aim can work by reducing rotation speed when an enemy is under the crosshair, making assistance subtle and mostly invisible to the player.
- Auto-aim was harder to hide, and the author found that a narrow angle with a clear snap and laser-sight color change worked better than trying to mask the adjustment.
- For some auto-aim cases, the angle has to be computed after projecting the player input toward the target, otherwise the system behaves differently at close and long range.
- Good game feel often depends on small special cases and exceptions rather than one clean universal rule.
- The game uses two aiming styles: a fully analog laser sight and a regular mode with a digital crosshair whose distance depends on stick strength.
- A digital crosshair also needed its own target and view positions, plus speed and acceleration, to avoid bumps when the stick crosses the deadzone.
- Smooth camera easing improves feel, helps during sudden movement, and can reduce motion sickness.
- Testing with other people helps, but the designer still needs to step away from the game and return later to judge controls more clearly.
