GGE Warlords is a complete 3D Action RPG framework built with BabylonJS, featuring multiplayer support, GRUDA GEAR equipment system, character progression, combat, AI-powered NPCs, and cloud deployment on Puter.
๐ New to the project? Start with the Documentation Index for organized access to all guides, tutorials, and resources!
๐ Ready to deploy? Check out the Deployment Master Plan for complete deployment instructions!
- ๐ญ Multiple Scenes - Lobby, outdoor worlds, interiors, caves, and more
- โ๏ธ Combat System - Spells, weapons, damage, and effects
- ๐ Character Movement - Walk, sprint, roll, jump with physics
- ๐ก๏ธ GRUDA GEAR - Complete equipment system with T1-T8 tiers and rarity levels
- ๐ฏ Character Progression - Classes, races, skill trees, and leveling
- ๐ Mount System - Rideable mounts with unique abilities
- ๐จ Crafting System - Gather resources and craft items
- ๐จ AI Material Generator - Create PBR materials from text descriptions (Press M)
- ๐ค AI NPCs - Dynamic dialogue and quest generation with Gemini/Puter AI
- ๐ง Level Builder - Visual terrain editing and object placement
- โ๏ธ Admin Panel - Live configuration editing with server sync
- ๐ Persistent UI - FPS counter and debug info across scenes
- ๐ฎ Gamepad Support - Full controller input mapping
- ๐ฑ Mobile Ready - Touch controls and responsive design
- ๐ Multiplayer - Colyseus-powered real-time multiplayer (coming soon)
- โ๏ธ Cloud Deployment - Deploy to Puter Cloud for free
- ๐ Authentication - GrudaChain blockchain authentication
Play in your browser instantly.
| Scene | URL |
|---|---|
| Outdoor | ?scene=outdoor |
| Lobby | ?scene=lobby |
| Inn | ?scene=inn |
| Builder | ?scene=builder |
| Debug Mode | &debug=true |
See all scenes in SceneManager.js.
# Clone the repository
git clone https://github.com/your-repo/3D-Action-RPG-JavaScript.git
cd 3D-Action-RPG-JavaScript
# Start the server (includes admin API)
node server.js
# Open in browser
# http://localhost:5500The included Express server provides:
- Static file serving
- Admin API for config management (
/api/configs) - Hot-reload support for configuration changes
# Python
python -m http.server 5500
# Node (npx)
npx serve .
# VS Code Live Server extensionAccess the admin panel at /admin or click the โ๏ธ button in the lobby.
- Visual Config Editor - Edit all game settings with forms
- Live Preview - See JSON output in real-time
- Server Sync - Save changes directly to server
- Import/Export - Backup and restore configurations
- Connection Status - Real-time server health indicator
| File | Purpose |
|---|---|
config/global.json |
Debug, WebGPU, developer settings |
config/scenes.json |
Scene definitions and spawn points |
config/combat.json |
Spells, weapons, damage values |
config/movement.json |
Controls and movement speeds |
config/character.json |
Hero stats and enemy configs |
config/camera.json |
Camera settings and limits |
config/physics.json |
Gravity and physics properties |
config/graphics.json |
Post-processing and quality |
config/builder.json |
Builder tool settings |
config/assets.json |
Asset paths and references |
See docs/guides/CONFIG_GUIDE.md for details.
Press M to open the Material Forge panel. Generate PBR materials from natural language:
"shiny gold metal with scratches"
"glowing blue crystal"
"weathered stone with moss"
"animated lava flow"
- AI Chat Interface - Describe materials in plain English
- Template Library - Pre-built material starting points
- Material Library - Save and reuse your creations
- Live Preview - See materials on a 3D sphere
- Apply to Meshes - One-click application to selected objects
See src/ai/NMEAgent.js and src/ui/MaterialPanel.js.
โโโ admin/ # Admin panel (HTML/CSS/JS)
โ โโโ index.html
โ โโโ css/admin.css
โ โโโ js/adminApp.js
โโโ config/ # JSON configuration files
โโโ docs/ # Documentation
โ โโโ guides/ # Feature guides
โ โโโ archive/ # Historical docs
โโโ src/
โ โโโ ai/ # AI agents (NMEAgent)
โ โโโ assets/ # Asset management
โ โโโ character/ # Hero, enemies, health
โ โโโ combat/ # Spells, weapons, damage
โ โโโ config/ # ConfigManager
โ โโโ lobby/ # Lobby scene
โ โโโ scene/ # SceneManager, scenes
โ โ โโโ gen/ # Procedural generation
โ โ โโโ scenes/ # Scene implementations
โ โโโ ui/ # UI panels and components
โ โโโ utils/ # Utilities
โโโ lib/ # Babylon.js libraries
โโโ assets/ # 3D models, textures
โโโ shaders/ # Custom shaders
โโโ server.js # Express server with API
โโโ index.html # Main entry point
Access with ?scene=builder. Tools include:
| Tool | Function |
|---|---|
| Place | Place terrain cells |
| Raise | Raise/Lower/Flatten terrain |
| Models | Place 3D objects |
| Delete | Remove placed objects |
| Copy | Copy/paste sections |
| Material | AI material generation |
| Settings | Save/Load/Export |
๐ Complete Documentation Index - Master index of all documentation
- Startup Guide - Detailed setup and configuration
- Quick Start - Fast track to running the game
- Project Structure - Folder organization guide
- Admin Panel Guide - Using the admin panel
- Config Guide - All configuration files explained
- Combat System - Spells, weapons, damage
- Character System - Stats and movement
- Tile System Guide - Tile-based building system
- Builder Mode - Terrain editing
- Placement Tools - Object placement
- Scripting System - Custom scripts
- Race System - Character races
- Skill Trees - Class and weapon skills
- Action Bar - Ability hotkeys
- Persistent UI - Cross-scene UI
- Deployment Guide - Production deployment
- Troubleshooting - Common issues and fixes
- What's New - Recent updates
| Key | Action |
|---|---|
| W/A/S/D | Move |
| Space | Jump |
| Shift | Sprint |
| Q | Roll/Dodge |
| E | Interact |
| 1-4 | Spells |
| M | Material Panel |
| Esc | Menu |
- Left Click - Attack/Select
- Right Click - Secondary action
- Scroll - Zoom camera
- Drag - Rotate camera
Contributions welcome! Please:
- Fork the repository
- Create a feature branch
- Submit a pull request
MIT License - See LICENSE file for details.
