I've been building Ember and Ash: The Cradle in Ren'Py: a five-act fantasy visual novel with turn-based combat. You play Elara. She escapes a burning city, finds what may be the last dragon egg in a ruin, and has to decide who to trust with it. It's fully voiced, and runs about 1.5–3 hours. Here's how the parts that aren't "just dialogue" are built, in case any of it is useful.
Combat with your hands, not a menu. Each enemy turn shows a telegraph. You answer with Ember, Ash or Defend, and each one is its own minigame, written as a custom renpy.Displayable:
- Ember: click a chain of sparks as they appear.
- Ash: a mote slides along a bar drawn over the enemy. Hold while it's inside the bright weak-point zone, and let go before it leaves. The score is the share of your hold spent inside the zone, so it isn't just pass or fail.
- Defend: trace a glowing ward shape (one of 9) with the mouse. The trace is scored as coverage × precision. A good trace visibly solidifies; a bad one cracks apart, so you can see why you took damage. At low HP the outline itself is drawn jittered and "cracked". The jitter is seeded once when the minigame is created, not every frame, so you trace a stable broken shape instead of noise.
Spells that match your lean hit harder, and the companion you bring along adds perks that grow as your bond does.
Companion perks. One companion fights beside you, and on the first turn of any fight you can switch who. Each has three perks, one per bond tier: Friend, then Confidant, then Devoted. Bond comes from your choices, camp talks and a recall question at camp, and it can drop too, so a cold answer can cost you a perk.
Ember or Ash. Every real choice leans Elara toward Ember (sudden, warm) or Ash (patient, cold). It changes dialogue and who trusts you, and it feeds into combat and the ending. It's one tracked value, but each character reacts to it in their own lines rather than through a generic "+1" popup.
A road between story beats. Instead of jumping scene to scene, each act has a road: forks with no hint of what's down them, short fights, hazards, caches, springs and walk-and-talks with whoever's with you. The fork picker is another small custom displayable. Some road events are fixed and the rest are drawn at random from a pool, so two playthroughs don't walk exactly the same road.
Animated backgrounds, and a Ren'Py gotcha. About fifty backgrounds are short looping webm videos. The first version flashed empty for a frame on every scene change. Movie() draws nothing until its first frame has decoded, so swapping one video background for another showed a gap. The fix was to give all background movies the same group:
Movie(play="videos/backgrounds/forest.webm", group="bg_media")
Movies in the same group hand over to each other, so the old frame stays until the new one is ready.
Happy to go into detail on any of it, if you are interested. The first act is a free demo on Steam:
https://store.steampowered.com/app/5421290/Ember_and_Ash_The_Cradle/