How gireeshkumarreddy/gta6-leonida-website works
This is a React-based interactive promotional experience, organized as a scrollable story of chapters with launch countdown, world and character showcases, gameplay/media, and interactive overlays. The user enters through the app shell, which initializes settings and interaction services before presenting the chapter experience and HUD. Supporting layers provide shared state, media resolution, audio, WebGL scenes, and game-style interactions. The README is empty; relationships below are limited to those visible in excerpts or documented in the source index, so some capabilities are represented without speculative connections.
Main entry points: App.tsx App Shell · switch.tsx Satellite Switch · media.tsx Media Components · chapters Story Chapters
Components 22
Story Experience
- App Shell
src/App.tsx - Story Chapters
src/chapters - Hero Scene
src/chapters/Hero.tsx
Game Interactions
- HUD and Toasts
src/game/hud.tsx - Menus and Overlays
src/game/overlays.tsx - Satellite Switch
src/game/switch.tsx - Secrets and Cheats
src/game/cheats.ts - Gamepad Controls
src/game/gamepad.ts - Respray
src/game/respray.ts - Share Export
src/game/share.ts
Content and Media
- Media Components
src/ui/media.tsx - Media Catalog
src/content/media.ts - World and Trailers
src/content/world.ts - Character Data
src/content/cast.ts - Loadout Data
src/content/loadout.ts
Runtime Systems
- Scroll Control
src/game/scroll.ts - Game State
src/game/store.ts - Audio Engine
src/audio/engine.ts - WebGL Scenes
src/gl - Quality Detection
src/gl/quality.ts - Reveal Effects
src/ui/fx.ts
Other components
- Visitor
Connections 19
- Visitor → App Shell: opens
- App Shell → Story Chapters: renders
src/App.tsx - App Shell → HUD and Toasts: mounts
src/App.tsx - App Shell → Menus and Overlays: mounts
src/App.tsx - App Shell → Satellite Switch: mounts
src/App.tsx - App Shell → Game State: initializes
src/App.tsx - App Shell → Scroll Control: starts
src/App.tsx - App Shell → Secrets and Cheats: starts listener
src/App.tsx - App Shell → Gamepad Controls: starts
src/App.tsx - App Shell → Quality Detection: detects quality
src/App.tsx - App Shell → Reveal Effects: starts reveals
src/App.tsx - Story Chapters → Hero Scene: includes
src/App.tsx - Menus and Overlays → Share Export: exports canvas
src/game/overlays.tsx - Respray → Share Export: uses export
src/game/respray.ts - Satellite Switch → Scroll Control: scrolls to
src/game/switch.tsx - Satellite Switch → Media Catalog: resolves shots
src/game/switch.tsx - Media Components → Media Catalog: resolves assets
src/ui/media.tsx - Media Components → Game State: reads settings
src/ui/media.tsx - Hero Scene → Quality Detection: selects scene quality
src/chapters/Hero.tsx