I have built CYBER STRIKER 3D — a browser 3D TPS AFK Game with a full Shop, passive automation, and responsive controls for both desktop and mobile devices.
Key Highlights & Features:
-
3D TPS Engine & Visuals:
- Direct Three.js Renderer: Renders smooth 60 FPS 3D visuals with dynamic lighting, shadows, atmospheric fog, glowing neon arena boundaries, and interactive hazard barrels that detonate when shot.
- Procedural 3D Models: Unique procedural 3D low-poly models for Hero Operatives (4 selectable skins: Cyber Commando, Neon Valkyrie, Mech Titan, Phantom Assassin), 8 distinct weapon models attached to hands, orbiting companion drones, and 5 enemy classes (Cyber Crawlers, Brute Mechs, Plasma Shooters, Suicide Bomb-Bots, and Titan Wave Bosses).
-
Weapons & Armory Shop:
- 8 Tech Weapons: Pulse Pistol, Scatter Shotgun, Hyper Assault Rifle, Plasma Blaster, Grenade Launcher, Cyber Minigun, Inferno Flamethrower, and Decimator Railgun.
- Tabbed Upgrades Shop:
- Armory: Unlock and level up weapons (increasing damage, magazine capacity, and fire rate).
- Hero Stats: Upgrade Max HP, HP Regen, Armor Shielding, Movement Speed, Damage Multiplier, Attack Speed, Crit Chance, Crit Damage, and Loot Magnet Vacuum Radius.
- AFK Automation Matrix: Purchase up to 4 orbiting laser drones, boost drone damage & attack speed, upgrade passive Gold Mine rates, and expand offline capacity.
- Super Skills: Tactical Nuke, Aegis Shield, and Time Dilation Slow.
-
AFK Autopilot Mode & Offline Income:
- AFK Toggle (
F key or HUD Button): Enables full AI autopilot where the character automatically kites enemies, targets high-priority threats, fires continuously, and gathers nearby loot.
- Offline Earnings: Computes passive income gathered while away and presents a welcome-back modal with an option to double earnings.
-
Tight Keyboard & Touch Controls:
- Keyboard & Mouse:
WASD / Arrow keys for movement, Mouse aim, Left Click shoot, Right Click / Space dash, 1-8 hotkeys to switch weapons, R reload, F toggle AFK, B / E open shop, P / Esc pause.
- Mobile Touch: Virtual on-screen dynamic joystick, large crosshair fire button, quick dash button, and skill hotbar.
-
Juicy Feedback & FX:
- Screen Shake & Recoil: Dynamic camera shake scale based on weapon power, critical hits, and explosions.
- Floating Damage Numbers: 3D-projected floating text numbers (+Crit flashes!).
- Synthesized Web Audio API: Crisp Web Audio sound effects (gun shots, laser hums, heavy explosions, reload clicks, coin pickup chimes) plus procedural background synthwave music track.
-
Start Screen, High Score Leaderboard & Game Over:
- Start Screen: Hero skin selector, controls guide, high scores list, and deploy action.
- In-Game HUD: Real-time HP/Shield, Level bar & XP meter, Wave counter & progress, Ammo clip gauge, Gold & Gems counter.
- Roguelite Level-Up Modal: Choose 1 of 3 augment cards upon leveling up in-battle.
- Game Over & Leaderboards: Detailed breakdown of wave reached, kills, damage, and gold earned, with local high score persistence saved in
localStorage.
Files built: index.html, src/types/game.ts, src/utils/audio.ts, src/utils/storage.ts, src/game/proceduralModels.ts, src/game/GameEngine.ts, src/components/HUD.tsx, src/components/ShopModal.tsx, src/components/LevelUpModal.tsx, src/components/StartScreen.tsx, src/components/PauseModal.tsx, src/components/GameOverModal.tsx, src/components/OfflineProgressModal.tsx, src/App.tsx