~/projects/heretic

HERETIC working title

A small, single-player isometric RPG in the spirit of the late-'90s classics: real-time exploration, turn-based combat with action points, branching dialogue and an inventory. I am building it from scratch in Rust with the Bevy engine, maps drawn in Tiled. The goal is one complete, playable map, released on itch.io. The look is pre-rendered miniatures, ruined fantasy meeting post-apocalypse, with every tile and prop made in-house. This page follows the work milestone by milestone.

in development · M04 of M08updated 2026-11-28art: in-house miniature tiles
milestones
4/9
M04 in progress
tasks
16/29
55% of the vertical slice
rust
3.5k
lines · 33 modules
commits
29
in 10 days
~/heretic/roadmap16/29 tasks to the vertical slice
  1. M00Setupdone 2026-11-193/3
    • Done: Rust toolchain with the wasm32 target, Bevy CLI
    • Done: Project generated from the bevy_new_2d template, pinned to Bevy 0.18
    • Done: Fast compile profiles, template running natively and on the web
  2. M01An isometric map on screendone 2026-11-194/4
    • Done: 20×20 isometric test map drawn in Tiled
    • Done: Map loaded in game with bevy_ecs_tiled
    • Done: Camera: keyboard and screen-edge scrolling, clamped zoom
    • Done: Hot reload of the map while the game runs
  3. M02Moving arounddone 2026-11-194/4
    • Done: Logical grid built from the Tiled layers; thin walls block cell edges, not cells
    • Done: Cursor-to-cell picking, aware of raised slabs
    • Done: Click-to-move along the shortest path around walls
    • Done: Depth sorting: characters pass behind and in front of walls
  4. M03Turn-based combatdone 2026-11-285/5
    • Done: Exploration / combat game modes and combat phases
    • Done: Action points and health; every step costs AP
    • Done: Melee and ranged attacks: hit roll, damage, critical hits
    • Done: Death, corpses, end of combat, game over screen
    • Done: Turn order (aggressor first, then initiative) and a minimal HUD: AP, HP, end turn
  5. M04Living enemiesin progress0/3
    • To do: Field of view blocked by walls
    • To do: Behavior trees: patrol, spot, enter combat
    • To do: Combat AI: close in, attack, flee when hurt
  6. M05NPCs and dialogue0/3
    • To do: Yarn Spinner with a custom dialogue window
    • To do: Dialogue commands wired to the game (give item, turn hostile, check stat)
    • To do: A conversation with at least two outcomes
  7. M06Inventory0/2
    • To do: Items loaded from data files
    • To do: Pick up, equip, use; inventory screen
  8. M07Save and load0/2
    • To do: Save the player, NPCs and dialogue state
    • To do: Quick save and quick load
  9. M08Polish and release0/3
    • To do: Main menu and options
    • To do: Final art replaces the prototype tiles
    • To do: Windows and web builds on itch.io
~/heretic/sandboxM02 + M03, playable here
loading sandbox…

The same rules as the game, on a 10×10 slice. Walls in Heretic are thin: they block the edge between two cells, not a whole cell, so a doorway is just a missing segment.

Hover a cell to see the shortest path around the walls. Each step costs 1 AP out of 10; when you run dry, end_turn() refills them.

~/heretic/logs/combat.loga real fight, 2026-11-27: two misses, out of AP, death
  1. 03:38:01 INFO screens: Screen transition: Title => Gameplay
  2. 03:38:01 INFO map::grid: NavGrid built: 20x20, 254 walkable cells, 222 blocked edge sides
  3. 03:39:09 INFO combat: GameplayMode transition: Exploration => Combat
  4. 03:39:09 INFO combat: CombatPhase transition: StartRound => PlayerTurn
  5. 03:39:10 INFO combat: Missed Enemy (60%, rolled 87), 6 AP left
  6. 03:39:13 INFO combat: Missed Enemy (60%, rolled 78), 2 AP left
  7. 03:39:15 INFO combat: Attack refused: needs 4 AP, 2 AP left
  8. 03:39:17 INFO combat: CombatPhase transition: PlayerTurn => EnemyTurn
  9. 03:39:17 INFO combat: CombatPhase transition: EnemyTurn => EndRound
  10. 03:39:17 INFO combat: CombatPhase transition: EndRound => StartRound
  11. 03:40:28 INFO combat: Player dies
  12. 03:40:31 INFO screens: Screen transition: Gameplay => Loading => Gameplay
~/heretic/rulescombat design, decided so far
  • action_pointsAP = 5 + Agility / 2

    Walking costs 1 AP per cell, a shot 4. Unspent AP turn into defense until your next turn.

  • hit_chanceskill − target Agility − 4% per cell beyond Perception

    Never below 10%. Skill = 25 + 2 × its two stats, +20 for your two favorites.

  • outcomescrit fail · fail · hit · crit hit

    A second roll decides crits: the wider the margin, the likelier. Critical damage ×2.

  • initiativeaggressor first, then 2 × Composure

    Re-sorted every round, ties go to the higher Agility. AP refill at the start of your own turn; enemies act one at a time.

  • stats7 primary stats, 1 to 10

    Original system, names still provisional. 9 skills planned, 6 in the first release.

  • balanceassets/data/combat.ron

    Every number lives in data files, never in code. Base skill went 10 → 25 after playtesting: 45% to hit felt bad.

~/heretic/screenshots9 captures · in-house art
~/heretic/stackCargo.toml, abridged
  • Rust · language
  • Bevy 0.18 · ECS engine
  • Tiled · map editor
  • bevy_ecs_tiled · map loading, hot reload
  • bevy_ecs_tilemap · isometric rendering
  • RON · balance data
  • in-house · pathfinding, turn system
  • Python voxel renderer · in-house tiles and props