How sivram04/vr-fps-game-prototype works
This is a Unity VR first-person shooter prototype. The documented gameplay loop is to shoot uniquely identified targets during a 1.5-minute session, update the on-canvas score, and store player-performance data including score, completion time, and time-to-hit per target. The graph maps those documented stages to likely implementation files named in the repository; no source excerpts were provided, so relationships are limited to claims in the README and implementation details remain unverified.
Main entry points: Assets Shootable targets · GameData.cs Performance record · ScoreManager.cs Score tracking · GameSessionManager.cs Timed session
Components 9
VR combat
- Gun
Assets/Gun.cs - Shootable targets
Assets
Session and scoring
- Timed session
Assets/GameSessionManager.cs - Score tracking
Assets/ScoreManager.cs - Canvas score
Assets/ScoreManager.cs
Performance data
- Target hit data
Assets/TargetHitData.cs - Performance record
Assets/GameData.cs - JSON file
Assets/game_data.json
Other components
- Player
Connections 10
- Player → Gun: uses
README.md - Gun → Shootable targets: shoots
README.md - Shootable targets → Score tracking: updates on hit
README.md - Score tracking → Canvas score: updates display
README.md - Timed session → Shootable targets: limits to 1.5 minutes
README.md - Shootable targets → Target hit data: records hit times
README.md - Timed session → Performance record: records completion time
README.md - Score tracking → Performance record: records total points
README.md - Target hit data → Performance record: includes hit timings
README.md - Performance record → JSON file: stored as JSON
README.md