summaryrefslogtreecommitdiff
path: root/src/LivingVillage.Desktop/VillageArt.fs
diff options
context:
space:
mode:
authorSomhairle H. Marisol <[email protected]>2026-09-28 19:46:21 +0800
committerSomhairle H. Marisol <[email protected]>2026-09-28 19:46:21 +0800
commit997d2ae917a04baf77f99349ed00ea5df8892cfc (patch)
tree95ff5cc13cd4f1425d06782d4ef4bd2795511a72 /src/LivingVillage.Desktop/VillageArt.fs
parentf8ef6b68167b122eaeaa400db41c5d8481c9baa9 (diff)
downloadliving-village-997d2ae917a04baf77f99349ed00ea5df8892cfc.tar.gz
p45: 角色动画帧升级 — 四向x(走4+待机2)原创点阵内嵌图集, 行走/停止/idle 接入渲染
Diffstat (limited to 'src/LivingVillage.Desktop/VillageArt.fs')
-rw-r--r--src/LivingVillage.Desktop/VillageArt.fs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/LivingVillage.Desktop/VillageArt.fs b/src/LivingVillage.Desktop/VillageArt.fs
index 0f176aa..98e4cdf 100644
--- a/src/LivingVillage.Desktop/VillageArt.fs
+++ b/src/LivingVillage.Desktop/VillageArt.fs
@@ -764,7 +764,9 @@ module VillageArt =
selectedGroundAtlasRelativePath ()
|> Option.map (fun path -> loadTexture device path cc0TileAtlasWidth cc0TileAtlasHeight)
{ TileAtlas = loadTexture device worldAtlasRelativePath worldAtlasWidth worldAtlasHeight
- CharacterAtlas = loadTexture device (selectedCharacterAtlasRelativePath ()) cc0CharacterAtlasWidth cc0CharacterCellHeight
+ // P45:角色改用原创点阵像素代码内嵌生成的动画图集(5 变体 x 4 向 x 6 帧),
+ // 不再采样任何外部/占位角色素材;尺寸与既有 characterSourceRectangle 完全一致。
+ CharacterAtlas = CharacterArt.buildAtlas device
InteriorAtlas = loadTexture device interiorAtlasRelativePath interiorAtlasWidth interiorAtlasHeight
Cc0TileAtlas = cc0 }