How ramhemanth09/dv-fire works
Shadow Island is an offline tactical battle-royale game, represented by Unity gameplay scripts and a separately playable Three.js web build. The player workflow is menu/setup, enter island combat, move and aim, fire or use equipment, fight escalating AI, then resolve match survival/results; endless mode replenishes eliminated bots. Unity excerpts show combat, damage routing, player controls, and reinforcement ownership. The web engine’s sampled excerpt establishes its UI, scene, and bot loop, but not detailed connections among every documented screen or mechanic.
Main entry points: HealthSystem.cs Health and Armor · WeaponController.cs Weapon Controller · app.js Web UI · PlayerController.cs Player Movement
Components 15
Web Game
- Static Server
web/server.js - Web UI
web/public/app.js - 3D Game Engine
web/public/app.js - Tactical Audio
web/public/app.js
Player Controls
- Player Movement
Unity-Scripts/Player/PlayerController.cs - Third-Person Camera
Unity-Scripts/Player/ThirdPersonCameraController.cs
Combat Systems
- Weapon Controller
Unity-Scripts/Weapons/WeaponController.cs - Weapon Ballistics
Unity-Scripts/Weapons/WeaponData.cs - Hitbox Routing
Unity-Scripts/Core/HitboxReceiver.cs - Health and Armor
Unity-Scripts/Core/HealthSystem.cs - Enemy AI
Unity-Scripts/AI/EnemyAIController.cs
Match Lifecycle
- Match Manager
Unity-Scripts/Core/ShadowIslandGameManager.cs - Unity Match
Unity-Scripts/Core/ShadowIslandGameManager.cs
Other components
- Player
- Web Browser
Connections 18
- Player → Web Browser: plays in
README.md - Web Browser → Static Server: requests assets
web/server.js - Static Server → Web Browser: serves files
web/server.js - Player → Web UI: navigates screens
web/public/app.js - Web UI → Tactical Audio: initializes audio
web/public/app.js - Web UI → 3D Game Engine: starts game
web/public/app.js - Player → Player Movement: controls movement
Unity-Scripts/Player/PlayerController.cs - Third-Person Camera → Player Movement: reads aim state
Unity-Scripts/Player/ThirdPersonCameraController.cs - Player Movement → Health and Armor: heals player
Unity-Scripts/Player/PlayerController.cs - Enemy AI → Weapon Controller: fires at player
Unity-Scripts/AI/EnemyAIController.cs - Weapon Controller → Weapon Ballistics: reads ballistics
Unity-Scripts/Weapons/WeaponController.cs - Weapon Controller → Hitbox Routing: registers hit
Unity-Scripts/Weapons/WeaponController.cs - Hitbox Routing → Health and Armor: routes damage
Unity-Scripts/Core/HitboxReceiver.cs - Weapon Controller → Health and Armor: applies direct damage
Unity-Scripts/Weapons/WeaponController.cs - Enemy AI → Health and Armor: checks health
Unity-Scripts/AI/EnemyAIController.cs - Match Manager → Health and Armor: subscribes kills
Unity-Scripts/Core/ShadowIslandGameManager.cs - Match Manager → Unity Match: spawns reinforcements
Unity-Scripts/Core/ShadowIslandGameManager.cs - Player → Unity Match: plays match
README.md