Current version: 0.2.0
Run the demo:
./playOpen the authored map directly in LDtk:
./editThe editor starts in maps/, opens the native top-down Grim Delver LDtk project, and
restores the latest edited level. The current project opens directly on the
Trench 9 1-1 level.
Grim Delver is a compact top-down action-RPG dungeon slice built with Godot 4.7 and Rust through GDExtension. It combines ARPG combat and loot with a grim, inhabited industrial-underground setting.
The playable loop is complete:
- Start in the Trench 9 encampment.
- Speak with Quartermaster Vela and check the medic or field stash.
- Cross the blast gate into Trench 9.
- Take the safe maintenance rooms or jump the two-tile Ember fissure shortcut.
- Fight sump thralls and rivet mutants, collecting scrap, gear, and stims.
- Equip the weapon style you want to train from the field stash.
- Kill the Chief Goblin Foreman in the sealed pump hall.
- Extract the Ember Cell and return it to Vela.
- Watch the recovered cell power up the encampment.
| Input | Action |
|---|---|
W A S D |
Move |
| Left mouse | Tap for a quick main-hand attack; hold and release for a charged attack |
| Right mouse | Tap for a quick bow shot; hold to draw, aim with the crosshair, and release |
1–4 |
Use or equip a hotbar item; in the inventory, bind or clear the selected item |
Q |
Toggle skill-based stealth and reveal enemy view cones |
Tap Space |
Jump in the movement or aim direction |
Double-tap Space |
Dash |
E |
Interact / pick up the Ember Cell; equip or use the selected inventory item |
Enter |
Confirm a menu action; equip or use the selected inventory item |
I |
Open / close the inventory; use W A S D to select its 5×3 grid |
C |
Character sheet |
Esc |
Open / close the in-game field menu |
W / S, A / D |
Select and adjust title or pause-menu entries |
R |
Restart after completing the demo |
Grim Delver uses a classless, use-based system. Actions train the skill that performed them: swords, axes, blunt weapons, bows, athletics, medicine, survival, stealth, scavenging, or influence. Five skill increases raise the overall character level. The two governing attributes practiced most during that level increase automatically, so the character grows from what the player actually does rather than from a class choice.
The seven attributes are Strength, Dexterity, Agility, Constitution, Perception, Will, and Intelligence. They feed live derived values including vitality, stamina, movement speed, jump distance, damage, recovery time, critical chance, armor resistance, stealth detection, backstab damage, and carry capacity.
Jumping and dashing train Athletics. Crossing the Ember fissure while airborne avoids Ember damage and awards a larger Athletics gain; higher Athletics and Agility increase the distance shown on the character sheet. Walking into an Ember fissure causes recurring damage. The north and south maintenance rooms remain safe routes for a fresh or injured delver.
The inventory contains concrete weapons derived from four trainable families: swords, axes, blunt weapons, and bows. Swords, axes, and blunt weapons equip to the main hand and attack with left mouse; bows equip to a dedicated sidearm slot and fire with right mouse. Each slot has its own cooldown. Every item retains distinct damage, reach, attack speed, fatigue, and targeting behavior. Quick melee strikes chain through a weapon-specific combo whose steps also vary recovery, reach, and hitbox. Armor keeps its own protection, resistance, movement, and stealth trade-offs. Controls, item quantities, cooldown masks, resource orbs, level bar, tooltips, and character statistics all render live state.
Stamina is the combat rhythm. Quick attacks are cheaper and weaker; holding left mouse winds up a stronger attack whose damage, stamina cost, and recovery rise continuously until release. Heavy axe and hammer charges convert stamina into damage more efficiently than light swords, but leave less reserve for the 28-stamina jump or 38-stamina dash. Attacks and traversal also delay stamina regeneration, so committing without an escape reserve is dangerous.
The bow has its own precision charge. Every release consumes one arrow from the selected quiver; holding right mouse changes the cursor to a crosshair and raises critical chance and critical damage, while normal damage and stamina cost stay fixed. Once the bow reaches full draw, continuing to hold drains stamina; walking while aiming drains it faster, and exhaustion cancels the shot and resets the draw. The field stash supplies 24 Standard arrows. Venom and fire arrows already have typed inventory and rendering contracts, but the playable demo does not supply them or apply poison or burning damage.
Press Q to enter or leave stealth. Stealth skill and Agility shrink the
360-degree noise radius around the delver. Enemy sight is a separate channel:
each monster has a forward view cone that stops at walls and solid scenery, and
stealth mode renders that exact cone so the player can route around it. Either
nearby noise or direct unobstructed sight causes detection. A concealed melee
strike made from behind is always critical and trains Stealth. The amber or
red forward region is sight; a separate cyan rear region shows the current
main-hand reach and armor-dependent angle in which a backstab can land. Heavy
Rivet Plate is deliberately noisy: it increases noise radius and visibly
narrows that rear cone, trading infiltration control for protection.
Fog of war is persistent and wall-aware. A soft, mottled haze feathers across the visibility boundary instead of blinking one square at a time. Unexplored tiles remain concealed, previously visited rooms stay dimly remembered, and enemies, drops, NPCs, animated props, lights, and minimap contacts appear only while they are in the player's current line of sight.
./test.shBuild a standalone Linux package:
./tools/export-linuxThe executable, resource pack, and Rust GDExtension library are written to
dist/.
The gameplay state, enemy behavior, combat, loot, objective flow, and collision rules live in Rust. The multi-level LDtk world owns each map's identity, dimensions, walkable layout, walls, hazards, scenery, ambient animation, lights, and optional actors. Godot owns the window, input, rendering, audio, and asset import pipeline. The demo uses Godot's Vulkan-backed Mobile renderer and nearest-neighbor pixel filtering.
No Godot knowledge is required to follow the gameplay code:
game/scenes/main.tscnis a text scene. It declares one Rust-backedNode2Dplus its audio children. ANode2Dis simply a drawable 2D scene object.rust/src/lib.rsis the GDExtension entry point. GDExtension is Godot's native-library bridge; it lets the scene instantiate a Rust type.rust/src/game.rshandles Godot callbacks:readyloads resources,processreads input and advances one frame, anddrawpaints the resulting state.rust/src/model.rscontains engine-independent game rules. Its unit tests can exercise combat, fog, collision, and progression without opening Godot.rust/src/render.rstranslates that state into ordered canvas drawing.rust/src/authored_map.rsvalidates and loads any selected level from the LDtk world embedded in the build.
The small files included by these module roots are implementation sections, not separate subsystems. Keeping each maintained code file below 300 lines makes the flow browsable while preserving one clear simulation, bridge, and renderer.
The title and pause screens are complete Lucifer menus with keyboard navigation, restart/quit actions, and live music and sound-effect volume controls. Music and dungeon ambience loop independently of the gameplay pause. Both controls default to a displayed 50%; that midpoint is calibrated to the preferred mix of 120% music and 35% effects. The replacement free-licensed audio suite provides weapon-specific swings and impacts, the bow's dedicated release, a short human damage grunt, six alternating stone footsteps, a dedicated physical jump cue, separate traversal and inventory cues, three monster vocal tiers, and distinct move/confirm/cancel interface feedback.
All player, NPC, and monster states use authored multi-frame animation from
Shade's coherent Puny family: eight-direction idle and movement, melee actions,
hurt reactions, and persistent death frames. Vela has a non-casting work and
conversation loop; medic Anja alone uses the authored caster action. The same
family supplies the encampment and dungeon,
including animated torches, drains, fire jets, blades, portals, machinery, and
gate. Physical scenery and every detail tile tagged Solid in LDtk block
movement and attacks, while wall-mounted and floor effects remain traversable;
the field stash uses the pack's authored closed and open chest frames when
looted. The companion Puny World atlas adds 1,026 usable
terrain, pathway, building, nature, resource, and furnishing tiles with the
upstream animation and Wang-terrain metadata preserved in LDtk. Static terrain
can never select an animated frame; acid, wall-fed discharge, Ember, and
ambient devices each have their own typed layer. A separate compatible Mini
World town atlas adds 511 semantically tagged buildings, shops, housing,
defenses, harbor pieces, graveyard elements, signs, props, and nature cells
while reusing Puny World for outdoor ground, paths, elevations, and water.
Attack art is authored in each character sheet; the Rust animation module maps those atlas frames into clips. Concrete weapons derive their trainable skill from a generic family while retaining their own duration, reach, impact frame, collision pattern, and combo sequence. Damage is applied only when the matching authored clip enters its visible impact frame: the sabre and ironblade select one target, the trench axe sweeps an arc, the rivet hammer hits a radial impact zone, and the Cinder Bow sidearm holds its authored aim pose before releasing a wall-blocked long-range shot from its dedicated bow frames on right mouse. The selected arrow is removed when the shot is committed, carried through projectile flight, and reported at impact for payload-colored projectile and hit effects.
The deterministic in-engine animation showcase is captured at
artifacts/animation-showcase.png.
The frame-synchronized multi-target axe impact is captured at
artifacts/combat-impact.png, a fully charged
stamina-scaled strike at
artifacts/charged-attack.png, and the dedicated
right-button bow sidearm at
artifacts/bow-combat.png. Its full precision draw,
critical readout, and quiver count are captured at
artifacts/bow-precision-charge.png. The
asset-backed RPG interfaces and traversal route are captured at
artifacts/inventory.png,
artifacts/character-sheet.png, and
artifacts/dungeon-jump-route.png. Fog and
the in-game menu are captured at
artifacts/fog-of-war.png and
artifacts/field-menu.png. The solid, animated
field stash is captured open at
artifacts/interactive-props.png. The
separately authored acid basin and wall-fed discharge are shown in
artifacts/acid-pools.png and
artifacts/acid-discharge.png; the complete
top-down layer stack is visible in
artifacts/ldtk-map-editor.png. Stealth's
distinct line-of-view and backstab cones are shown in
artifacts/stealth.png.
The Grim Delver mascot is available as an alpha PNG at
artifacts/grim-delver-mascot.png.
Godot is discovered from GODOT_BIN, godot, or godot4. On this workstation,
the wrapper also recognizes the already-installed pinned Godot 4.7.1 runtime.
play and the retained run.sh entrypoint use Godot's Wayland display driver
when launched inside a Wayland session, avoiding the unsupported OpenGL dialog
caused by an X11 fallback. edit launches the free LDtk map editor.
Grim Delver's code is MIT licensed. Every bundled third-party art, interface, font, sound, and music source is credited below. CC0 attribution is voluntary; the Blender Foundation jump cue requires attribution under CC BY 3.0. Exact upstream filenames, SHA-256 hashes, local derivatives, and processing notes are recorded in ASSETS.md. The Grim Delver mascot was created specifically for Grim Delver. The gallery images are in-game captures.
- Shade — Puny Characters (CC0 1.0): player, Vela, Anja, sump thrall, rivet mutant, and Chief Goblin Foreman animation sheets.
- Shade — Puny Dungeon (CC0 1.0): dungeon terrain, hazards, props, gates, machinery, and ambient animation.
- Shade — Puny World (OpenGameArt mirror, CC0 1.0): encampment terrain, paths, scenery, furnishings, and upstream Wang-terrain metadata.
- Shade — Weapon RPG Icons and Mixed RPG Icons (CC0 1.0): weapons, armour, consumables, resources, quest loot, and arrow types.
- Shade — Mini World Sprites (CC0 1.0): the character sheet's Influence glyph.
- Foozle, with commissioned art by David (
@chroma_dave) — Lucifer RPG UI (CC0 1.0): hotbar, inventory, character sheet, panels, buttons, minimap, level bar, icons, andPixelRpgFont-Regular.
- artisticdude — RPG Sound Pack (CC0 1.0): melee, inventory, interaction, interface, traversal, progression, objective, and monster cues.
- artisticdude — Battle Sound Effects (CC0 1.0): bow release.
- EZduzziteh — Hurt Sound Effects (CC0 1.0): player damage voice.
- Delta12 Studio — RPG Sound Effect Pack (CC0 1.0): flesh impact.
- Fantozzi, submitted and sliced by qubodup — stone footsteps (CC0 1.0): six rotating left/right footstep recordings.
- qubodup, remixing yd's “Shrine” — Dark Shrine Loop (CC0 1.0): music.
- yd — Dungeon Ambience (CC0 1.0): looping dungeon ambience.
- Blender Foundation —
Yo Frankie jump sound
(CC BY 3.0): the processed
traverse_jump.oggmovement cue.














