From b5ffb35fc0824a297ff88297390310acb6c45335 Mon Sep 17 00:00:00 2001 From: "Somhairle H. Marisol" Date: Mon, 21 Sep 2026 21:53:53 +0800 Subject: fix(desktop): 灯笼光晕按自身 alpha 预乘并改径向层叠,消除夜间纯白方块 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 VillageArt.premultiply:MonoGame SpriteBatch 默认预乘混合,直传 Color(r,g,b,a) 会直接加 rgb 导致多层暖色饱和成 75x75 纯白块 - lanternGlowLayers 用同心圆 pixel run 做径向衰减,逐层预乘,只在 RiverLantern 实体处绘制 - 水面相位改 waterFrameTickAt=(tick/32+x+2y)%3,同一帧相邻砖相位不同 - 炊烟改为 drawWorld 末尾独立一遍,位置 offsetTile 0 -3,画在屋瓦/竹子之上 - 角色脚底对齐 characterFeetOffset=16 并加预乘椭圆接触阴影 - 补全 Interaction.itemName 的 ItemKind 匹配(否则非 Food 交易会崩溃且告警) --- src/LivingVillage.Desktop/Interaction.fs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/LivingVillage.Desktop/Interaction.fs') diff --git a/src/LivingVillage.Desktop/Interaction.fs b/src/LivingVillage.Desktop/Interaction.fs index 95aa84c..b29cf6b 100644 --- a/src/LivingVillage.Desktop/Interaction.fs +++ b/src/LivingVillage.Desktop/Interaction.fs @@ -256,6 +256,9 @@ module M5Interaction = let private itemName (item: ItemKind) : string = match item with | Food -> "食物" + | Fish -> "鱼" + | Spice -> "香料" + | Scroll -> "卷轴" let private responseName (response: DialogueResponse) : string = match response with -- cgit v1.2.3