Files
Stanley d88d1a9781 feat(battle-architecture): 重构战斗卡牌项目结构并初始化C#内容模型
- 重组目录为 Game/Docs 分层并迁移卡牌资源
- 新增战斗卡牌 RFC 与项目结构文档
- 初始化 Godot C# 工程文件与解决方案
- 新增 CardDef/EffectSpec/ConditionSpec 资源定义
- 枚举改为 E* 命名并迁移到 Enums 目录
- 修正资源引用路径并更新项目配置
- 补充 .gitignore 的 .NET 忽略项
2026-04-19 22:34:05 +08:00

22 lines
751 B
GDScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# CardStyle.gd
class_name CardStyle
extends Resource
# --- 卡牌部位纹理(可从图集切分)---
@export var background_texture: Texture2D
@export var art_texture: Texture2D # 卡面插画
@export var frame_texture: Texture2D # 稀有度边框
@export var banner_texture: Texture2D # 类型条
@export var cost_orb_texture: Texture2D # 费用球体
# --- 文字样式(影响 UIOverlay 内的 Label---
@export var name_font_color: Color = Color.WHITE
@export var desc_font_color: Color = Color(0.8, 0.8, 0.8)
@export var cost_font_color: Color = Color.WHITE
# 可选:字体资源
@export var custom_font: Font
# --- 卡牌尺寸(可覆盖默认)---
@export var card_size: Vector2 = Vector2(200, 280)