Age of Realms | Isometric RTS HTML5 Game
Age of Realms is a complete, ready-to-play isometric real-time strategy game built with Phaser 3. It is sold as a source-code template — buyers receive the entire codebase so they can rebrand, rebalance, extend, or ship it as their own product. The game features a full RTS gameplay loop: gather 4 resources, construct buildings, train military units, research through stances and formations, and defeat a wave-based AI opponent. Everything is data-driven from a single src/confi…
All source code listed on this site is collected from the internet. If any listing infringes your rights, please contact us and we will remove it immediately.
Description
Age of Realms is a complete, ready-to-play isometric real-time strategy game built with Phaser 3. It is sold as a source-code template — buyers receive the entire codebase so they can rebrand, rebalance, extend, or ship it as their own product.
The game features a full RTS gameplay loop: gather 4 resources, construct buildings, train military units, research through stances and formations, and defeat a wave-based AI opponent. Everything is data-driven from a single src/config.json file — you can retune unit stats, building costs, AI difficulty, map size, and audio settings without touching any JavaScript.
It runs in any modern browser, needs no server, and ships with a pre-built production bundle (dist/index.html opens directly).
Features
4 Unit Types
Villager (gatherer), Swordsman (melee), Archer (ranged), Cavalry (fast). All stats — HP, attack, armor, speed, range, cost — live in config.json.
5 Buildings
Town Center, House (population cap), Barracks (military training), Market (daily resource income), Tower (auto-attack). Each has configurable limit, cost, HP, size, and hotkey.
4 Resources
Food, Wood, Gold, Stone. Gathered by villagers, deposited at the Town Center. Node positions and counts are configured in config.json.
AI Opponent
Three difficulty levels (Easy / Normal / Hard). Manages economy, constructs buildings, trains armies, launches attack waves, defends its base. All thresholds per difficulty are configurable.
A* Pathfinding
Octile heuristic with diagonal cost, binary heap optimization. Units pathfind around forests and water automatically.
5 Formations
Box, Line, Column, Staggered, Flank. Direction-aware — the formation rotates to face the movement direction. Press F to cycle.
Patrol Mode
Multi-waypoint ping-pong patrol. Units walk back and forth between two points, auto-engaging enemies along the route. Press P then right-click.
3 Unit Stances
Aggressive (chase enemies), Defensive (engage within range), Stand Ground (hold position). Toggle via the bottom bar button.
Attack-Move
Press A then right-click — units move to the target while engaging any enemies they encounter on the way.
Rally Points
Select a building, then right-click on the map — newly trained units will automatically move to the rally point.
Save & Load
Full game state persisted in localStorage — units, buildings (including construction progress), queues, AI state, resources. Resume any time via the “Continue” button.
Settings Menu
SFX / BGM volume sliders, mute toggle, edge-scroll toggle, first-run tutorial toggle. Persisted across sessions.
Tutorial Overlay
7-step modal coach marks shown on the first new game. Each step has title, body, and Skip / Next buttons.
Fullscreen
Dedicated button on both menu and in-game HUD (top-right corner). Also supports F11 and Shift+Enter.
Minimap
Live isometric minimap with terrain, units, buildings, and camera viewport outline. Click to recenter the camera.
In-Game Clock & Day Counter
Simulated day/night cycle with a clock display. Markets grant per-day resource income.
Drag-Select & Double-Click
Box-select multiple units with left-drag. Double-click a unit to select all units of the same type on screen.
Building Limit Locks
Building buttons show a red lock icon when the per-game limit is reached. Tooltips display the limit.
Game Speed Controls
Press 1 (0.5x), 2 (1x), 3 (2x) or click the speed toggle. Configurable speeds in config.json.
Responsive Scaling
Phaser Scale Manager with FIT mode. Works on any display resolution from 1024×640 upward.
Related products
More digital goods in the same category or with similar tags.
HTML5 / Games
Spooky Pipes Puzzle - HTML5 Puzzle game
HTML5 / Games
Defend The World - HTML5 Game (Construct 3)
HTML5 / Games
Dunk Drawing -Physic strech basket ball - H5
HTML5 / Games
Swipe Blade - HTML5 - Construct 3
HTML5 / Games
Galaxy Aggression - Endless Shooter
HTML5 / Games
Neon Flight - HTML5 Game (CAPX)
HTML5 / Games
Ufo Flight - HTML5 Game (CAPX)
HTML5 / Games
Ruin tower - HTML5 Android (CAPX)
Age of Realms | Isometric RTS HTML5 Game
After successful payment, you will receive a download link for the source code