SteadyShot: Where Human Signals Meet Precision Shooting
This is a submission for the Presage SmartSpectra SDK Challenge
What I Built
I built SteadyShot, a first-person sniper game developed using Godot 4, where your physiological state can influence how accurately you aim.
The game places you at a sniper position overlooking a desert canyon. Enemy units advance towards your position in waves, and your objective is to stop them before they cross the breach line.
But SteadyShot goes beyond conventional sniper mechanics. Using the Presage SmartSpectra SDK, the game receives camera-derived heart-rate and breathing-rate estimates and uses them to influence aiming stability and shot consistency. This means aiming isn't entirely about moving your mouse onto a target. Your physiological signals become another gameplay variable.
The game also features:
- Projectile-based shooting with bullet drop and wind drift.
- A bolt-action rifle with manual reloading and recoil.
- Multiple enemy types and progressively challenging waves.
- Dynamic day/night cycles and sandstorms.
- Night vision and thermal optics.
- Live heart-rate and breathing-rate history graphs.
- Sensor-free fallback mode, allowing the game to be played without Presage.
The idea was to make physiological signals an actual part of the gameplay rather than simply displaying them on a dashboard.
Demo
Demo Video: This demo shows SteadyShot running with the Presage SmartSpectra SDK, including live physiological readings and how they influence aiming stability and shot consistency.
Code
GitHub Repository: Yasovardan-Ram / Steady-Shot
STEADYSHOT A physiology-aware, first-person sniper game built with Godot 4. SteadyShot puts you on a desert-canyon overlook. Hold the position, track advancing infantry, account for wind and bullet drop, and stop enemies before they cross the breach line. When a compatible Presage SmartSpectra setup is available, webcam-derived heart-rate and breathing-rate estimates feed into the aiming-stability model. The sensor is optional: the game remains playable without it.
Project: SteadyShot
Engine: Godot 4.2+
Primary language: GDScript
Optional sensor runtime: Node.js + Presage SmartSpectra SDK
Window / viewport: 1600 Γ 900 (resizable/scalable through Godot display settings)
Contents
- Gameplay overview
- Features
- Getting started
- Using the Presage SmartSpectra sensor
- Controls
- Game systems
- Architecture
- Project structure
- Configuration and saved data
- Releases and builds
- Troubleshooting
- Privacy and sensor limitations
- Development notes
Gameplay Overview
You defend a sniper position above a desert valley. Enemy units advance in waves along terrain-aware routes. Every enemy that crosses the marked breachβ¦
The repository contains the complete Godot project, GDScript gameplay systems, and the Node.js Presage bridge. The README includes instructions for:
- Running the game from source.
- Installing the required dependencies.
- Configuring the Presage SmartSpectra integration.
- Connecting a camera and API key.
- Playing without a sensor.
For judges: The game supports guest play, so you can explore the gameplay without creating an account. You can also choose to continue without a sensor to experience the core game. To test the physiological integration, you'll need a compatible camera setup and your own valid SmartSpectra API key.
How It Responds to Human Signals
SteadyShot integrates the Presage SmartSpectra Node.js SDK to obtain real-time, camera-derived physiological estimates. The integration currently uses two signals:
- Heart rate: Influences the physiological load used by the aiming-stability model.
- Breathing rate: Contributes to aiming sway and breathing-cycle-related shot-consistency feedback.
How the Integration Works
The integration uses a Node.js bridge between Presage and Godot.
- The player enters their SmartSpectra API key through the in-game sensor setup screen and connects their camera.
- The Node.js bridge initializes the SmartSpectra SDK and manages the sensor session.
- The bridge receives physiological estimates and forwards them to Godot through a local WebSocket connection.
- Godot processes the incoming readings and passes the relevant values to the player controller.
- The player controller uses these readings to influence scope sway and shot-consistency calculations.
Incoming measurements are smoothed and checked for confidence and freshness. When readings become stale or unavailable, their influence gradually fades instead of treating old measurements as current.
Shot-consistency feedback is calculated when the player fires. It considers available sensor freshness, physiological load, breathing phase, and player movement.
I also wanted the sensor integration to remain optional. If the camera, SDK, or API key is unavailable, the game continues to work using its fallback aiming behaviour. The purpose of these signals is to influence gameplay, not to provide medical measurements or health-related advice.
Prize Categories
I'm entering both prize categories.
Most Creative or Delightful Use
The idea behind SteadyShot was to explore what happens when a game's mechanics respond to something happening inside the player, rather than relying exclusively on conventional input devices. A sniper game felt like an interesting way to explore this. In a game where precision is important, physiological signals can become another layer of challenge.
Instead of using the SDK to create another health dashboard, I wanted to make its signals directly relevant to the player's experience. The result is a game where aiming stability is influenced by real-time physiological estimates, making the experience more interactive and personal.
Best Thoughtful Real-World Use
I'm also interested in exploring SteadyShot beyond entertainment. The underlying idea is to use physiological signals as an additional dimension in simulation-based training. For example, the current sniper environment could evolve into a controlled precision-training simulator where users can observe how changes in their physiological state correlate with their performance.
The same underlying concept could potentially be explored in other simulation environments, including aviation and spaceflight training, where maintaining performance during demanding situations is important. Flight simulators already provide controlled environments for practising complex scenarios without exposing trainees to the risks of real-world operations. I see an opportunity to explore a similar approach with physiological feedback as an additional layer.
SteadyShot is currently an experimental game prototype, not a validated professional training system. These applications are possibilities for further exploration, not capabilities I claim to have already implemented. My goal was to explore how real-time human signals could change not just what an application displays, but how the application itself behaves.
Consent and Data Handling
SteadyShot requires the player's explicit interaction with the in-game sensor setup screen before starting a SmartSpectra session. The player can also choose to continue without a sensor.
The integration uses a camera to obtain physiological estimates through the Presage SmartSpectra SDK. The application follows these data-handling practices:
- Camera consent: Players explicitly initiate the sensor setup before the camera session begins. Sensor usage is optional.
- Local processing: Physiological signal processing is performed locally according to the current implementation.
- API key handling: The SmartSpectra API key is entered at runtime and passed to the Node.js bridge through a temporary process environment variable. It is not transmitted through the local WebSocket connection.
- Local communication: The bridge binds to
127.0.0.1and uses a randomly generated per-session authentication token for communication with the game. - SDK telemetry: SmartSpectra SDK telemetry is disabled in the bridge configuration.
- Data storage: Heart-rate and breathing-rate readings are used during gameplay and are not saved after a session.
- Other services: The application does not use additional external AI APIs or services beyond Presage.
- Local game data: Account records, settings, and scoreboard information are stored locally on the player's computer.
The game receives physiological estimates and status information rather than raw ECG or respiratory waveforms. These estimates are used exclusively for gameplay purposes.
SteadyShot is not intended for medical diagnosis, treatment, or health-related decisions. The core game remains playable without camera access or sensor connectivity.
Comments
No comments yet. Start the discussion.