iter16ui T7:P6甲缩放纪律落码(状态九枚常规档24→32px=1×·mini16维持;柜台四枚64源20→32px=0.5×;BCard图标槽56→40px=2×;地图头像定高48宽随源比46×48纵横异倍消除;手绘十枚20/40双档消费点核查=全部1×无需动)+P10乙记忆态换装「地板纹理+灰罩α.66」(FOG_MEMORY_PLATE平涂退役;记忆墨对合成底6.71:1≥4.5实测复算)+art-bible §8.2显示档例外登记+§6.5记忆态条款换代双侧落文;轻闸冒烟782/0+三探针绿;board_shot系窗口化探针归T10人闸
This commit is contained in:
1 parent
e0fd7cb8d7
commit
1b2ecf6400
6 files changed
+20
-8
No files matched your search
@@ -254,7 +254,12 @@ func _draw() -> void:
|
||||
if fog_state == 1:
|
||||
draw_rect(Rect2(Vector2.ZERO, Vector2(edge, edge)), Color(0, 0, 0, 1.0), true)
|
||||
elif fog_state == 2:
|
||||
draw_rect(Rect2(Vector2.ZERO, Vector2(edge, edge)), UiKit.FOG_MEMORY_PLATE, true)
|
||||
# 记忆态换装(P10 乙 2026-10-06——demo 口径「地板纹理 + 灰罩 α.66」:原 #3A3A3A 平涂退役;
|
||||
# 地板纹理原样直画 + FOG_MEMORY_PLATE α.66 灰罩压顶;素材零改动、格边长零改动。
|
||||
# 记忆墨 FOG_MEMORY_INK 对合成底实测 ≈6.7:1 ≥4.5:1(§7.2 硬指标;floor avg #453020 复算在册))
|
||||
if tex_base != null:
|
||||
draw_texture_rect(tex_base, Rect2(Vector2.ZERO, Vector2(edge, edge)), false)
|
||||
draw_rect(Rect2(Vector2.ZERO, Vector2(edge, edge)), Color(UiKit.FOG_MEMORY_PLATE, 0.66), true)
|
||||
if glyph != "":
|
||||
_draw_glyph(glyph, UiKit.FOG_MEMORY_INK, maxi(18, int(ceil(edge * 0.5)))) # 字号下限 18(§7.4 冻结公式同源)
|
||||
# ⑦ 中立移除退色层(迭代 13 T8/D6——P2 甲退色降档:暗幕压顶全层覆盖,暗淡记忆态同族呈现语义;
|
||||
|
||||
@@ -87,7 +87,7 @@ func _init() -> void:
|
||||
var bal_row := HBoxContainer.new()
|
||||
bal_row.add_theme_constant_override("separation", 6)
|
||||
badge.add_child(bal_row)
|
||||
var keystone_icon := UiKit.icon_rect(UiKit.TEX_ICON_KEYSTONE, 20) # 缺位 null → 纯文本回退(M3 18→20)
|
||||
var keystone_icon := UiKit.icon_rect(UiKit.TEX_ICON_KEYSTONE, 32) # P6 甲②(2026-10-06):64 源 0.5×(原 20=0.3125× 违 §8.2);缺位 null → 纯文本回退
|
||||
if keystone_icon != null:
|
||||
bal_row.add_child(keystone_icon)
|
||||
_balance_label = UiKit.label("钥石 0",UiKit.FS_SUB, true, UiKit.INK_ON_GOLD)
|
||||
@@ -162,7 +162,7 @@ func _counter_panel(title_text: String, icon_path: String, holder: Control, min_
|
||||
head.add_theme_constant_override("separation", 6)
|
||||
band.add_child(head)
|
||||
if icon_path != "":
|
||||
var ic := UiKit.icon_rect(icon_path, 20) # M3 16→20(demo 头带图标档) # 缺位 null → 纯文本回退
|
||||
var ic := UiKit.icon_rect(icon_path, 32) # P6 甲②(2026-10-06):柜台头带 64 源 0.5×(原 20 违 §8.2);缺位 null → 纯文本回退
|
||||
if ic != null:
|
||||
head.add_child(ic)
|
||||
var l := UiKit.label(title_text,UiKit.FS_BODY, true, UiKit.WARM)
|
||||
|
||||
@@ -130,9 +130,14 @@ func _init() -> void:
|
||||
bottom.add_child(strip)
|
||||
var face := TextureRect.new()
|
||||
var face_tex := UiKit.load_tex(UiKit.TEX_HERO_PORTRAIT)
|
||||
# P6 甲⑤(2026-10-06):定高 48px=1×、宽随源图比自适应(源 46×48 → 46×48;纵横异倍消除)
|
||||
var face_h := 48.0
|
||||
var face_w := face_h
|
||||
if face_tex != null:
|
||||
face.texture = face_tex
|
||||
face.custom_minimum_size = Vector2(50, 52)
|
||||
if face_tex.get_height() > 0:
|
||||
face_w = floorf(face_h * face_tex.get_width() / float(face_tex.get_height()))
|
||||
face.custom_minimum_size = Vector2(face_w, face_h)
|
||||
face.expand_mode = TextureRect.EXPAND_IGNORE_SIZE
|
||||
face.stretch_mode = TextureRect.STRETCH_KEEP_ASPECT_CENTERED
|
||||
face.texture_filter = CanvasItem.TEXTURE_FILTER_NEAREST
|
||||
|
||||
@@ -118,9 +118,10 @@ func _make_slot() -> PanelContainer:
|
||||
if compact:
|
||||
col.add_theme_constant_override("separation", 0)
|
||||
slot.add_child(col)
|
||||
# 定稿纹理图标(32px 源 → 24px 槽内呈现;线性过滤匹配抗锯齿矢量风源图)
|
||||
# 定稿纹理图标(P6 甲③ 2026-10-06:32px 源 → 常规档 32px=1×;mini(站桩)档 16px=0.5×
|
||||
# 共用 §8.2 例外登记——线性过滤匹配抗锯齿矢量风源图)
|
||||
var icon := TextureRect.new()
|
||||
icon.custom_minimum_size = Vector2(24, 24) if not compact else Vector2(16, 16)
|
||||
icon.custom_minimum_size = Vector2(32, 32) if not compact else Vector2(16, 16)
|
||||
icon.expand_mode = TextureRect.EXPAND_IGNORE_SIZE
|
||||
icon.stretch_mode = TextureRect.STRETCH_KEEP_ASPECT_CENTERED
|
||||
icon.texture_filter = CanvasItem.TEXTURE_FILTER_LINEAR
|
||||
|
||||
@@ -479,7 +479,7 @@ class BCard:
|
||||
var itex := UiKit.load_tex(icon_path)
|
||||
if itex != null:
|
||||
icon_tr.texture = itex
|
||||
icon_tr.custom_minimum_size = Vector2(56, 56)
|
||||
icon_tr.custom_minimum_size = Vector2(40, 40) # P6 甲④(2026-10-06):20×20 源 2× 档(原 56=2.8× 违 §8.2)
|
||||
icon_tr.expand_mode = TextureRect.EXPAND_IGNORE_SIZE
|
||||
icon_tr.stretch_mode = TextureRect.STRETCH_KEEP_ASPECT_CENTERED
|
||||
icon_tr.texture_filter = CanvasItem.TEXTURE_FILTER_NEAREST
|
||||
|
||||
Reference in new issue
Block a user