Skip to content

3D Action RPG, all in the browser. In the style of Kindgoms of Amalur. Includes in-game level builder.

Notifications You must be signed in to change notification settings

GrudgeDaDev/3D-Action-RPG-JavaScript

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

76 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ GGE Warlords - 3D Action RPG

Example Image

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!


โœจ Features

Core Systems

  • ๐ŸŽญ 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

Advanced Features

  • ๐ŸŽจ 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 & Cloud

  • ๐ŸŒ Multiplayer - Colyseus-powered real-time multiplayer (coming soon)
  • โ˜๏ธ Cloud Deployment - Deploy to Puter Cloud for free
  • ๐Ÿ” Authentication - GrudaChain blockchain authentication

๐Ÿš€ Demo

Play in your browser instantly.

Scene URLs

Scene URL
Outdoor ?scene=outdoor
Lobby ?scene=lobby
Inn ?scene=inn
Builder ?scene=builder
Debug Mode &debug=true

See all scenes in SceneManager.js.


๐Ÿ› ๏ธ Run Locally

Quick Start

# 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:5500

Development Server

The included Express server provides:

  • Static file serving
  • Admin API for config management (/api/configs)
  • Hot-reload support for configuration changes

Alternative: Any Static Server

# Python
python -m http.server 5500

# Node (npx)
npx serve .

# VS Code Live Server extension

โš™๏ธ Admin Panel

Access the admin panel at /admin or click the โš™๏ธ button in the lobby.

Features

  • 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

Configuration Files

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.


๐ŸŽจ AI Material Generator

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"

Features

  • 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.


๐Ÿ“ Project Structure

โ”œโ”€โ”€ 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

๐Ÿ”ง Builder Mode

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

๐Ÿ“š Documentation

๐Ÿ“– Complete Documentation Index - Master index of all documentation

Quick Links

Getting Started

Core Systems

Building & Editing

Advanced Features

Deployment & Troubleshooting


๐ŸŽฎ Controls

Keyboard

Key Action
W/A/S/D Move
Space Jump
Shift Sprint
Q Roll/Dodge
E Interact
1-4 Spells
M Material Panel
Esc Menu

Mouse

  • Left Click - Attack/Select
  • Right Click - Secondary action
  • Scroll - Zoom camera
  • Drag - Rotate camera

๐Ÿค Contributing

Contributions welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Submit a pull request

Support the Project


๐Ÿ“„ License

MIT License - See LICENSE file for details.

About

3D Action RPG, all in the browser. In the style of Kindgoms of Amalur. Includes in-game level builder.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 71.2%
  • HTML 27.0%
  • PowerShell 1.2%
  • Other 0.6%