Ashes of Eldervale

A third-person low-poly action RPG that runs in a browser tab. Sword, sprint, quest, save — and every tree, bone and sound effect is generated in code.

▶ Play in browser Source on GitHub Structure editor Documentation
The player character standing in the village of Eldervale, sword drawn, forest and river beyond
Village of Eldervale · software-rendered capture, no post-processing
~303 KB gzipped 0 external assets ~60 draw calls 2 languages 3 save slots 65 unit + 8 e2e 35 quests 60 Hz fixed step three.js r160

What's in the vale

A vertical slice of an action RPG: one village, one dungeon, a forest, and the systems that make them worth walking through.

world

Village, dungeon, forest

Eight cottages around a well, a walled dungeon with a lever door and torchlight, and ~460 instanced trees in three LOD tiers. A river cuts the northern meadow.

combat

Combo, block, parry, roll

Two-hit light combo plus a heavy. Hold right mouse to guard, time it inside 0.25 s to parry and stagger the attacker, or roll through the swing with 0.35 s of i-frames.

enemies

Six kinds of trouble

Goblins, hounds and archers, plus a 140 HP goblin brute and a 95 HP hound alpha. The Warden sleeps behind the lever door — wake it and it unlocks a sweep, then a slam, as its health drops.

quests

Data-driven objectives

Four quests — kill, collect, talk and a boss hunt — read from JSON. The quest system never imports an enemy; it listens on the event bus.

dialogue

Typewriter + branches

Four villagers, branching choices, floating quest markers and rewards granted the moment an objective lands.

persistence

Gear that matters

Three equipment slots — weapon, armour, trinket — that move max HP, damage, damage reduction and stamina regen. Craft a vest from petals, or take the plate off the Warden.

weather

Rain, then thunder

A weather cycle rolls over the vale: 1,400 falling drops, wet ground, a dimmer sun, fog that closes in — and lightning every so often, with the thunder trailing behind it.

persistence

Three save slots

Pick a slot from the menu and see its level, HP, quest count and timestamp — or delete it. v3 schema keeps quest counters; v1 and v2 saves migrate; corrupt ones fall back to a fresh game instead of throwing.

light

Six-minute day cycle

Sun orbit, shader sky, fog and light colours lerped by elevation, lanterns waking at dusk.

input

Keyboard, pad, touch

Rebindable action map, pointer-lock mouse look, gamepad polling and a virtual stick with attack/jump buttons on touch devices.

assets

Nothing to download

Twelve-bone skinned rigs, eight animation clips and every sound are generated at runtime. Drop real CC0 GLBs in through the manifest when you have them.

offline

Install it

A web manifest and service worker mean the game installs to your home screen and boots offline after the first visit.

Budget, and where it landed

Measured with the in-game F3 overlay on the production build.

BudgetTargetMeasured
Bundle (gzipped)< 25 MB303 KB
Draw calls≤ 150~60
Visible triangles≤ 300k~62k
Terrain≤ 65k tris32,768 tris
Player character≤ 15k tris / ≤ 24 bones~600 tris / 12 bones
NPCs & enemies≤ 6k / ≤ 8k tris~600 tris each

Roadmap

Six phases, built in order. The full list of what is done and what is left lives in ROADMAP.md.

01Engine, input, terrain, player controllerFixed step, orbit camera, capsule + ground snapDone
02Asset pipeline, day/night, villageManifest loader + procedural fallback, sky, propsDone
03Combat, enemies, damage, deathCombo, hit-stop, goblin FSMDone
04NPCs, dialogue, quests, inventoryThree quests, four villagers, 20 slotsDone
05UI polish, save/load, audio, touchMenus, settings, rebinding, virtual stickDone
06Performance pass & dispose auditBudgets verified; real-GPU frame time pendingIn progress
07Depth passSave v3 with quest progress · step-up · hounds + the WardenShipped
08Combat depthArchers + projectiles · Warden phases · 3 save slotsShipped
09Boss & polishShot leading · arena wake · sweep + slam variants · slot deleteShipped
10Ship hardening27 unit tests in CI · PWA install + offline · footsteps by surfaceShipped
11Combat & orientationBlock / parry / guard break · minimap + compass · adaptive qualityShipped
12Verbs & worldDodge roll · crafting + loot drops · rain with wet surfacesShipped
13ProgressionEquipment slots · quest chains · lightning + thunderShipped
14DepthSkill tree · far-bank village + bridge · photo modeShipped
15PolishRespec + skill pip · fog-of-war minimap · archer volleysShipped
16ContentCottage interiors · fire + frost weapons · elitesShipped
17BreadthSecond boss · elemental resistances · touch controlsShipped
18Fit and finishAdaptive render scale · boss bar · recipe discoveryShipped
19NavigationAutosave flash · slot rename · quest tracking + map pinShipped
20Direction and moodWaypoint chevron · snow · enemy voicesShipped
21Tools and spaceFrame-log harness · save export/import · dungeon upper floorShipped
22ConsequencesArena portcullis · gear sets · branching quest pairShipped
23ReadabilityAttack telegraphs · hearth crafting · free photo cameraShipped
24PayoffTelegraph shapes · arena chest · photo shutterShipped
25ReachWorld-changing quest · archer strafe · accessibilityShipped
26AssuranceDispose audit · E2E smoke in CI · frost cultistShipped
27AuthoringThird boss · JSON structures · mobile tuningShipped
28Home and airEight interiors · ambient beds · structure editorShipped
29Visible and recordedGear on the model · quest journal · data docsShipped
30GuardrailsCoverage gate · split chunks · snow ritualShipped
31ResistanceShield knight · settings reset · save thumbnailsShipped
32DepthFar-bank chain · editor undo · documentation siteShipped
33Range and optionsHybrid boss · six more recipes · hardware handoffShipped
34Payoff and reachGated fifth boss · River set · localisation scaffoldShipped
35Two languagesMenus and settings localised · full Hindi bundleShipped
36Feel and onboardingAttack buffering · conditional dialogue · first-run hintsShipped
37Targeting and displayLock-on · alert propagation · FOV / brightness / HUD scaleShipped
38Contact and companyHit sparks and decals · pack behaviour · adaptive musicShipped
39Paths and pressureDungeon navigation · positional audio · timed questsShipped
40Loot and roomsRarity rolls · reverb zones · controller glyphsShipped
41Space and stanceVillage stash · dungeon ceiling · poise meterShipped
42Breath and first impressionsExhaustion · quick-slots · painted loading sceneShipped
43Night and standingNight spawns · faction reputation · ground broad phaseShipped
44Trade and aimTrader with standing prices · aim assist · comparison tooltipsShipped
45Routes and feelAuthored patrols · pad rebinding · weapon classesShipped
46Riposte and reachRiposte · attack-cancel · ducking · screen-reader labelsShipped
47Weather, curve, audio seamFoliage wind · difficulty curve · recorded-SFX pipelineShipped
48Falls, stings and chunksDirectional deaths · aggro stinger · chunked propsShipped
49Kinds, glyphs, voicesSlash/blunt resistances · glyph atlas · voice-over seamShipped
50Rails, drags, roomsCutscene camera · drag-and-drop · dungeon zone cullingShipped
51Off the main threadNav BFS in a worker · decisions recorded for every partialShipped
52Content passThree quests for Bram and Tavin · 18 totalShipped
53Sena and OdoSix more quests and a branch · 24 total · turn-in node fixShipped
54Maro, and a test with teethFive elder quests · 29 total · E2E proves every giver turns inShipped
55Rules with a homeDialogue routing extracted and unit-tested · cross-giver chainsShipped
56The ridgeFourth settlement, trader and giver · save tests for the new fieldsShipped
57The barrowA data-authored dungeon above the hamlet · its keeper · a questShipped