<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://xiayu-zhao.github.io/DearZ-web/devlog/feed.xml" rel="self" type="application/atom+xml" /><link href="https://xiayu-zhao.github.io/DearZ-web/" rel="alternate" type="text/html" hreflang="en" /><updated>2026-10-02T17:28:57+00:00</updated><id>https://xiayu-zhao.github.io/DearZ-web/devlog/feed.xml</id><title type="html">Dear Z.</title><subtitle>Dear Z. is an indie 2.5D narrative puzzle-platformer in development with Unity 6 — a journey through a shattered storybook world, one fragment of memory at a time.</subtitle><author><name>The Dear Z. team</name></author><entry><title type="html">Chapter 7: Rebirth in the Afterlife</title><link href="https://xiayu-zhao.github.io/DearZ-web/devlog/2026/10/02/chapter-7-rebirth-in-the-afterlife/" rel="alternate" type="text/html" title="Chapter 7: Rebirth in the Afterlife" /><published>2026-10-02T17:00:00+00:00</published><updated>2026-10-02T17:00:00+00:00</updated><id>https://xiayu-zhao.github.io/DearZ-web/devlog/2026/10/02/chapter-7-rebirth-in-the-afterlife</id><content type="html" xml:base="https://xiayu-zhao.github.io/DearZ-web/devlog/2026/10/02/chapter-7-rebirth-in-the-afterlife/"><![CDATA[<p>Chapter 7, <strong>Rebirth in the Afterlife</strong> (复往生), is where the journey ends: back at the bridge from Chapter 1.</p>

<h2 id="the-idea">The idea</h2>

<p>You’ve walked a whole life that wasn’t yours. Now you’re on the far side of the bridge, holding the scroll you’ve carried since the beginning. What’s written on it, and how much of it you managed to fill, decides what happens next.</p>

<p>The game has three endings. This image is one of them.</p>

<h2 id="reading-the-image">Reading the image</h2>

<ul>
  <li><strong>Colour, at last.</strong> Every chapter so far has been painted in a single ink tone. This is the first time the world is in full colour: the nine threads of light that scattered on this bridge in Chapter 1 are flowing back into the scroll.</li>
  <li><strong>The lilies</strong> that shattered like glass in Chapter 1 are in full bloom.</li>
  <li><strong>The bridge</strong> holds the lantern-bearer, a figure in white, and behind them a long line of travellers waiting to cross. Look for faces you might recognise from earlier chapters, like the child in red.</li>
  <li><strong>The hand</strong> of mist that followed you through every chapter is opening up and dissolving into the clouds.</li>
  <li><strong>The frame</strong> is the Life Scroll itself: its rollers at the edges, its stitched panels across the sky, and a row of seals collected along the way. Each seal is a story from an earlier chapter.</li>
</ul>

<p>With this, every chapter of <em>Dear Z.</em> has its key art, from the mist of the first bridge to the colour of the last. The next step is turning these pictures into places you can walk through.</p>]]></content><author><name>The Dear Z. team</name></author><category term="Art" /><category term="Chapter 7" /><summary type="html"><![CDATA[Key art for the final chapter — back to the bridge where it all began, at dawn, in colour for the first time. With this, every chapter has its key art.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://xiayu-zhao.github.io/DearZ-web/assets/img/ch7-rebirth-in-the-afterlife.jpg" /><media:content medium="image" url="https://xiayu-zhao.github.io/DearZ-web/assets/img/ch7-rebirth-in-the-afterlife.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Chapter 6: Scenery in a Bonsai</title><link href="https://xiayu-zhao.github.io/DearZ-web/devlog/2026/10/02/chapter-6-scenery-in-a-bonsai/" rel="alternate" type="text/html" title="Chapter 6: Scenery in a Bonsai" /><published>2026-10-02T16:00:00+00:00</published><updated>2026-10-02T16:00:00+00:00</updated><id>https://xiayu-zhao.github.io/DearZ-web/devlog/2026/10/02/chapter-6-scenery-in-a-bonsai</id><content type="html" xml:base="https://xiayu-zhao.github.io/DearZ-web/devlog/2026/10/02/chapter-6-scenery-in-a-bonsai/"><![CDATA[<p>Chapter 6, <strong>Scenery in a Bonsai</strong> (盆中景), is later life.</p>

<h2 id="the-idea">The idea</h2>

<p>You’ve left the house. Out here there’s only grassland, wide and quiet, and for the first time there’s no hand. Nothing is chasing you.</p>

<p>Walk a little further and you start to find graves: no names, just small carvings. Then more of them. The sun goes down, the grass turns gold, a meteor falls. Somewhere on the horizon, someone with a lantern is waiting.</p>

<h2 id="reading-the-image">Reading the image</h2>

<ul>
  <li><strong>The palette</strong> is faded straw-gold and ash, a sunset over a sea of grass. The only other colours are a ribbon of green aurora, the white streak of a meteor, and the thin red line of wildfire far away.</li>
  <li><strong>The graves</strong> in the foreground are carved with butterflies, silkworms and cocoons. Two are shaped like open hands. Beside some lie masks that were finally taken off.</li>
  <li><strong>The traveller</strong>, old now and leaning on a stick, walks among them in the same white cloak.</li>
  <li><strong>The miniatures</strong> are the whole journey so far, small enough to hold: the rope bridge, the boat with its glowing door, the cocoon on the pine, the teapot mountain, the red-roofed house. If you look closely, there’s someone by the lake watching the fish.</li>
  <li><strong>The bonsai pot</strong> is the frame: its glazed rim curves along the bottom of the image, and the great pine leans over everything.</li>
</ul>

<p>On the far right, at the edge of the fire, a single figure holds up a lantern.</p>]]></content><author><name>The Dear Z. team</name></author><category term="Art" /><category term="Chapter 6" /><summary type="html"><![CDATA[Key art for the sixth chapter — open grassland at last, nameless graves, and a whole life laid out in miniature.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://xiayu-zhao.github.io/DearZ-web/assets/img/ch6-scenery-in-a-bonsai.jpg" /><media:content medium="image" url="https://xiayu-zhao.github.io/DearZ-web/assets/img/ch6-scenery-in-a-bonsai.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Chapter 5: House in a Box</title><link href="https://xiayu-zhao.github.io/DearZ-web/devlog/2026/10/01/chapter-5-house-in-a-box/" rel="alternate" type="text/html" title="Chapter 5: House in a Box" /><published>2026-10-01T20:30:00+00:00</published><updated>2026-10-01T20:30:00+00:00</updated><id>https://xiayu-zhao.github.io/DearZ-web/devlog/2026/10/01/chapter-5-house-in-a-box</id><content type="html" xml:base="https://xiayu-zhao.github.io/DearZ-web/devlog/2026/10/01/chapter-5-house-in-a-box/"><![CDATA[<p>Chapter 5, <strong>House in a Box</strong> (盒中屋), is midlife.</p>

<h2 id="the-idea">The idea</h2>

<p>Halfway up the mountain there’s a grand old house. By day, its servants work the fields as oxen and horses, with ploughs strapped to their backs and chains on their ankles. At night, they come home and put on their masks.</p>

<p>Inside, everyone looks the same and walks the same way, in one long line. Before the sun goes down, anyone still walking alone is put outside, where the hand is waiting. So people keep offering you a chain: just tie yourself to someone, and you can stay.</p>

<h2 id="reading-the-image">Reading the image</h2>

<ul>
  <li><strong>The palette</strong> is aged cinnabar lacquer: oxblood, rust and dark umber, with the last of the sunset bleeding across the horizon. Home is warm here, and it’s also suffocating.</li>
  <li><strong>The courtyard</strong> is built around a grave. A grassy mound and a stone stele sit at its centre, and the household moves around it as if it were nothing unusual.</li>
  <li><strong>The procession</strong> circles the courtyard in masks, many walking in pairs joined at the ankle.</li>
  <li><strong>The traveller</strong> is the only figure in white and the only one unmasked. They’re holding a mask that someone has just handed them, and haven’t put it on yet.</li>
  <li><strong>The stage</strong> on the left shows a shadow-play, two figures from an old story leaning toward each other.</li>
  <li><strong>The box</strong> is the frame itself: carved red lacquer walls at the edges, and a lid propped open overhead, letting in the final light.</li>
</ul>

<p>On the right, beyond the gate, the hand of mist rises out of the storm. It’s waiting for sundown.</p>]]></content><author><name>The Dear Z. team</name></author><category term="Art" /><category term="Chapter 5" /><summary type="html"><![CDATA[Key art for the fifth chapter — a grand old house at sunset, a household in masks, and the chains people agree to wear.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://xiayu-zhao.github.io/DearZ-web/assets/img/ch5-house-in-a-box.jpg" /><media:content medium="image" url="https://xiayu-zhao.github.io/DearZ-web/assets/img/ch5-house-in-a-box.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Chapter 4: Temple in a Teapot</title><link href="https://xiayu-zhao.github.io/DearZ-web/devlog/2026/10/01/chapter-4-temple-in-a-teapot/" rel="alternate" type="text/html" title="Chapter 4: Temple in a Teapot" /><published>2026-10-01T18:00:00+00:00</published><updated>2026-10-01T18:00:00+00:00</updated><id>https://xiayu-zhao.github.io/DearZ-web/devlog/2026/10/01/chapter-4-temple-in-a-teapot</id><content type="html" xml:base="https://xiayu-zhao.github.io/DearZ-web/devlog/2026/10/01/chapter-4-temple-in-a-teapot/"><![CDATA[<p>Chapter 4, <strong>Temple in a Teapot</strong> (壶中寺), is young adulthood.</p>

<h2 id="the-idea">The idea</h2>

<p>At the top of the mountain there’s a golden hall. Everyone wants to get there, and everyone is climbing: for knowledge, for work, for a place to belong. The stairs go on forever. Some people stop to rest and never start again, some shove each other out of the way, and some just keep their heads down and climb.</p>

<p>Getting to the top isn’t the hard part, though. The hard part is the door, and who it lets through.</p>

<h2 id="reading-the-image">Reading the image</h2>

<ul>
  <li><strong>The palette</strong> is a deep cobalt-blue ink, cold and dreamlike. Against it, everything warm burns orange: the hall, the lanterns along the stairs, the low sun, and the trees that seem to glow like embers.</li>
  <li><strong>The gate</strong> at the lower left spills light, but the pale hooded figures crouched outside it aren’t going in.</li>
  <li><strong>The traveller</strong> in the white cloak has just passed through and starts up the steps, leaning on a branch.</li>
  <li><strong>The stairway of lights</strong> winds all the way up the mountain, a thin thread of gold through the dark.</li>
  <li><strong>The hand</strong> of mist is back, reaching toward the gate. It can’t follow you inside.</li>
  <li><strong>The sky</strong> is the inside of a porcelain teapot, cracked like old glaze, with light pouring in through the lid and mist drifting from the spout at upper right.</li>
</ul>

<p>Look for the smaller shrine on the right-hand slope, lit by a few candles. It matters later in the chapter.</p>

<p><em>Updated October 1 with a revised version of the key art.</em></p>]]></content><author><name>The Dear Z. team</name></author><category term="Art" /><category term="Chapter 4" /><summary type="html"><![CDATA[Key art for the fourth chapter — a thousand steps, a golden hall at the summit, and a gate not everyone is allowed through.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://xiayu-zhao.github.io/DearZ-web/assets/img/ch4-temple-in-a-teapot-v2.jpg" /><media:content medium="image" url="https://xiayu-zhao.github.io/DearZ-web/assets/img/ch4-temple-in-a-teapot-v2.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Chapter 3: Silkworm in a Bottle</title><link href="https://xiayu-zhao.github.io/DearZ-web/devlog/2026/09/30/chapter-3-silkworm-in-a-bottle/" rel="alternate" type="text/html" title="Chapter 3: Silkworm in a Bottle" /><published>2026-09-30T18:00:00+00:00</published><updated>2026-09-30T18:00:00+00:00</updated><id>https://xiayu-zhao.github.io/DearZ-web/devlog/2026/09/30/chapter-3-silkworm-in-a-bottle</id><content type="html" xml:base="https://xiayu-zhao.github.io/DearZ-web/devlog/2026/09/30/chapter-3-silkworm-in-a-bottle/"><![CDATA[<p>Chapter 3, <strong>Silkworm in a Bottle</strong> (瓶中蚕), is adolescence.</p>

<h2 id="the-idea">The idea</h2>

<p>The desert from the end of Chapter 2 goes on. Far ahead, a city of white domes floats in the sky. The people who live there are born with robes that let them fly, and they come and go as easily as breathing. You can’t fly. Neither can the traveller who offers you a ride on their camel, and who turns out to be a lot more like you than either of you expected.</p>

<p>Getting up there means finding out what you are, and then becoming it.</p>

<h2 id="reading-the-image">Reading the image</h2>

<ul>
  <li><strong>The palette</strong> is bleached sand and ivory, a single warm ink tone. The only colour is the muted green of mulberry leaves, and this chapter’s light is green.</li>
  <li><strong>The silk tunnel</strong> on the left is the inside of a cocoon: thousands of threads spun into a passage, with more cocoons hanging like lanterns. A tiny figure stands deep inside it.</li>
  <li><strong>The riders</strong> in white robes cross the dunes toward the city, leaving a long line of footprints behind them.</li>
  <li><strong>The curved wall of glass</strong> is both the barrier at the edge of the desert and a hint that this whole world sits inside a jar, lit from its open mouth above.</li>
</ul>

<p>After the night-blue sea of Chapter 2, this is the brightest place the journey has been so far. That’s deliberate: adolescence is full of light, even when it’s hard.</p>]]></content><author><name>The Dear Z. team</name></author><category term="Art" /><category term="Chapter 3" /><summary type="html"><![CDATA[Key art for the third chapter — a cocoon of woven silk, a desert of pale sand, and a white city that everyone else can simply fly to.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://xiayu-zhao.github.io/DearZ-web/assets/img/ch3-silkworm-in-a-bottle.jpg" /><media:content medium="image" url="https://xiayu-zhao.github.io/DearZ-web/assets/img/ch3-silkworm-in-a-bottle.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Chapter 2: Sea in a Palm</title><link href="https://xiayu-zhao.github.io/DearZ-web/devlog/2026/09/30/chapter-2-sea-in-a-palm/" rel="alternate" type="text/html" title="Chapter 2: Sea in a Palm" /><published>2026-09-30T12:00:00+00:00</published><updated>2026-09-30T12:00:00+00:00</updated><id>https://xiayu-zhao.github.io/DearZ-web/devlog/2026/09/30/chapter-2-sea-in-a-palm</id><content type="html" xml:base="https://xiayu-zhao.github.io/DearZ-web/devlog/2026/09/30/chapter-2-sea-in-a-palm/"><![CDATA[<p>Chapter 2, <strong>Sea in a Palm</strong> (掌中海), is the first stage of the life you walk through: childhood.</p>

<h2 id="the-idea">The idea</h2>

<p>A child drifts in a little boat across a sea that seems to go on forever. They can go anywhere — or so it seems. Pairs of glowing doors rise out of the water, and each pair offers a choice: this garment or that one, these shoes or those, this toy or the other.</p>

<p>What the child doesn’t see is the hand. It has been there the whole time, just beyond the mist, quietly steering.</p>

<h2 id="reading-the-image">Reading the image</h2>

<ul>
  <li><strong>The palette</strong> moves from Chapter 1’s grey-green ink to a single deep indigo, lit by moonlight. The only warm color is the amber glow of the doors.</li>
  <li><strong>The doors come in pairs</strong> and shrink into the distance, a row of choices the boat has yet to reach.</li>
  <li><strong>The hand</strong> is made of mist rather than flesh. It feels less like a threat and more like the weather: always there, and hard to argue with.</li>
  <li><strong>On the horizon</strong>, a single tall, narrow door blazes white with a figure waiting inside it. Beyond that, the sea is already turning to sand, and a ship lies stranded. That’s where the chapter is headed.</li>
</ul>

<p>The same small figure in the white hooded cloak carries on from Chapter 1. Every chapter will be painted in its own color, but the traveller stays the same.</p>]]></content><author><name>The Dear Z. team</name></author><category term="Art" /><category term="Chapter 2" /><summary type="html"><![CDATA[Key art for the second chapter — a small boat, an endless night sea, and a hand you don't notice until it's too late.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://xiayu-zhao.github.io/DearZ-web/assets/img/ch2-sea-in-a-palm.jpg" /><media:content medium="image" url="https://xiayu-zhao.github.io/DearZ-web/assets/img/ch2-sea-in-a-palm.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Hello, world — the Dear Z. site is live</title><link href="https://xiayu-zhao.github.io/DearZ-web/devlog/2026/09/30/the-site-is-live/" rel="alternate" type="text/html" title="Hello, world — the Dear Z. site is live" /><published>2026-09-30T00:00:00+00:00</published><updated>2026-09-30T00:00:00+00:00</updated><id>https://xiayu-zhao.github.io/DearZ-web/devlog/2026/09/30/the-site-is-live</id><content type="html" xml:base="https://xiayu-zhao.github.io/DearZ-web/devlog/2026/09/30/the-site-is-live/"><![CDATA[<p><em>Dear Z.</em> has a home on the web.</p>

<p>This site will grow alongside the game. Here’s what you’ll find:</p>

<ul>
  <li><strong><a href="/DearZ-web/#world">The world</a></strong> — what the game is about, and how it plays.</li>
  <li><strong><a href="/DearZ-web/#chapters">The chapters</a></strong> — seven stages of a journey, each a miniature world of its own.</li>
  <li><strong><a href="/DearZ-web/#gallery">Gallery</a></strong> and <strong><a href="/DearZ-web/#music">soundtrack</a></strong> — concept art and music as they’re made.</li>
  <li><strong><a href="/DearZ-web/#progress">Progress</a></strong> — an honest look at what’s built, what’s in progress, and what’s next.</li>
  <li><strong>This devlog</strong> — short notes and clips from development.</li>
</ul>

<p>The game is early: grey boxes, capsule enemies and a lot of ideas. Thanks for being here at the start.</p>]]></content><author><name>The Dear Z. team</name></author><category term="News" /><summary type="html"><![CDATA[A home for the project. Progress notes, concept art and music will land here as development continues.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://xiayu-zhao.github.io/DearZ-web/assets/img/og-card.jpg" /><media:content medium="image" url="https://xiayu-zhao.github.io/DearZ-web/assets/img/og-card.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Chapter 1: first key art and theme</title><link href="https://xiayu-zhao.github.io/DearZ-web/devlog/2026/09/25/chapter-1-art-and-theme/" rel="alternate" type="text/html" title="Chapter 1: first key art and theme" /><published>2026-09-25T00:00:00+00:00</published><updated>2026-09-25T00:00:00+00:00</updated><id>https://xiayu-zhao.github.io/DearZ-web/devlog/2026/09/25/chapter-1-art-and-theme</id><content type="html" xml:base="https://xiayu-zhao.github.io/DearZ-web/devlog/2026/09/25/chapter-1-art-and-theme/"><![CDATA[<p>Chapter 1, <strong>Bridge to the Afterlife</strong> (往生桥), finally has a face — and a voice.</p>

<h2 id="the-art">The art</h2>

<p>The chapter is built from a few images I keep coming back to: a mountain gorge thick with mist, a lantern-bearer who never quite shows their face, a field of red spider lilies — the flowers said to grow along the river between worlds — and a rope bridge across the water.</p>

<p>The palette is almost entirely grey-green ink. Color is rare in <em>Dear Z.</em>, and when it appears it means something: here, the red of the lilies, and the nine threads of light at the far end of the bridge.</p>

<h2 id="the-music">The music</h2>

<p>Two pieces for the chapter so far — the main theme and a longer remix. Both are on the <a href="/DearZ-web/#music">home page</a>, or here:</p>

<audio controls="" preload="none" src="/DearZ-web/assets/audio/ch1-bridge-to-the-afterlife.mp3"></audio>

<p><em>Bridge to the Afterlife — main theme</em></p>

<audio controls="" preload="none" src="/DearZ-web/assets/audio/ch1-bridge-to-the-afterlife-remix.mp3"></audio>

<p><em>Bridge to the Afterlife — remix</em></p>]]></content><author><name>The Dear Z. team</name></author><category term="Art" /><category term="Music" /><category term="Chapter 1" /><summary type="html"><![CDATA[A first look at the Bridge to the Afterlife — the chapter's key art and its main theme, plus an extended remix.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://xiayu-zhao.github.io/DearZ-web/assets/img/ch1-bridge-to-the-afterlife.jpg" /><media:content medium="image" url="https://xiayu-zhao.github.io/DearZ-web/assets/img/ch1-bridge-to-the-afterlife.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Enemies, combat &amp;amp; healing debris</title><link href="https://xiayu-zhao.github.io/DearZ-web/devlog/2026/01/24/enemy-ai-and-healing-debris/" rel="alternate" type="text/html" title="Enemies, combat &amp;amp; healing debris" /><published>2026-01-24T00:00:00+00:00</published><updated>2026-01-24T00:00:00+00:00</updated><id>https://xiayu-zhao.github.io/DearZ-web/devlog/2026/01/24/enemy-ai-and-healing-debris</id><content type="html" xml:base="https://xiayu-zhao.github.io/DearZ-web/devlog/2026/01/24/enemy-ai-and-healing-debris/"><![CDATA[<p>The world has teeth now.</p>

<ul>
  <li><strong>Enemy AI &amp; combat.</strong> First-pass enemies patrol, notice the player and deal damage to health bar A. They’re red capsules for the moment — expressive, I know.</li>
  <li><strong>Green debris heals.</strong> Debris now comes in more than one flavour. The new green type restores health — the first step toward debris of different colors doing different things.</li>
  <li><strong>Fixed camera trigger.</strong> Walking up to an anchor now switches the camera to a fixed, composed shot. This is the seed of the more cinematic, movie-like camera the game needs for its big moments.</li>
</ul>

<h2 id="unity-gotcha">Unity gotcha</h2>

<p>Every UI element has to live under the <code class="language-plaintext highlighter-rouge">CanvasUI</code> object, or it simply won’t render. Cost me a while to figure out; writing it down so future me doesn’t repeat it.</p>

<h2 id="next-up">Next up</h2>

<p>A <strong>BornPoint</strong>: when either health value drops to zero, send the player back to the last checkpoint instead of leaving them stranded.</p>]]></content><author><name>The Dear Z. team</name></author><category term="Combat" /><category term="Systems" /><category term="Camera" /><summary type="html"><![CDATA[The world pushes back — first enemy AI that can damage the player, green debris that heals, and a camera that can lock into a fixed shot.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://xiayu-zhao.github.io/DearZ-web/assets/video/2026-01-24-enemy-combat.jpg" /><media:content medium="image" url="https://xiayu-zhao.github.io/DearZ-web/assets/video/2026-01-24-enemy-combat.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">A dialogue system, and two kinds of health</title><link href="https://xiayu-zhao.github.io/DearZ-web/devlog/2026/01/21/dialogue-and-two-kinds-of-health/" rel="alternate" type="text/html" title="A dialogue system, and two kinds of health" /><published>2026-01-21T00:00:00+00:00</published><updated>2026-01-21T00:00:00+00:00</updated><id>https://xiayu-zhao.github.io/DearZ-web/devlog/2026/01/21/dialogue-and-two-kinds-of-health</id><content type="html" xml:base="https://xiayu-zhao.github.io/DearZ-web/devlog/2026/01/21/dialogue-and-two-kinds-of-health/"><![CDATA[<h2 id="dialogue">Dialogue</h2>

<p>Added a <strong>dialogue system</strong> made of three parts: a <em>sequence</em> (the lines), a <em>system</em> (the UI) and a <em>manager</em> (who’s speaking, and when).</p>

<p>Adding a new conversation is now a repeatable recipe:</p>

<ol>
  <li>Drag a <strong>dialogue trigger</strong> into the scene.</li>
  <li>Create a <strong>dialogue sequence</strong> asset (under <code class="language-plaintext highlighter-rouge">projectDearZ/dialogue sequence</code>).</li>
  <li>Assign the sequence to the trigger.</li>
  <li>Register it with the <strong>dialogue manager</strong>.</li>
</ol>

<p>The dialogue UI itself lives in the dialogue system, so styling it later is a one-place change. The first speaker is, fittingly, the Doctor.</p>

<h2 id="health--2">Health × 2</h2>

<p>The player now has <strong>two health bars</strong>. In the game they’ll be <strong>Physical</strong> (pink) and <strong>Mental</strong> (baby blue) — some things hurt the body, some things hurt the mind, and you’ll have to look after both.</p>

<h2 id="workflow-note">Workflow note</h2>

<p>A small lesson from working with Cursor + Claude: don’t <code class="language-plaintext highlighter-rouge">@</code>-mention the whole Scripts folder when asking for help. It burns far more context than mentioning nothing at all and letting the assistant search.</p>]]></content><author><name>The Dear Z. team</name></author><category term="Narrative" /><category term="Player" /><category term="Tools" /><summary type="html"><![CDATA[Characters can talk now — plus a Physical and a Mental health bar, the two things the player has to protect.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://xiayu-zhao.github.io/DearZ-web/assets/video/2026-01-21-dialogue-health.jpg" /><media:content medium="image" url="https://xiayu-zhao.github.io/DearZ-web/assets/video/2026-01-21-dialogue-health.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry></feed>