godot-mota/src/monster/MonsterBookItem.tscn

165 lines
3.6 KiB
Plaintext

[gd_scene load_steps=7 format=2]
[ext_resource path="res://src/monster/monster_spriteframes.tres" type="SpriteFrames" id=1]
[ext_resource path="res://assets/images/ground.png" type="Texture" id=2]
[ext_resource path="res://assets/fonts/Droid Sans Fallback.tres" type="DynamicFont" id=3]
[ext_resource path="res://assets/fonts/Droid Sans Fallback.ttf" type="DynamicFontData" id=4]
[sub_resource type="StyleBoxEmpty" id=1]
[sub_resource type="DynamicFont" id=2]
size = 12
font_data = ExtResource( 4 )
[node name="MonsterBookItem" type="PanelContainer"]
margin_right = 416.0
margin_bottom = 64.0
rect_min_size = Vector2( 416, 64 )
custom_styles/panel = SubResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Content" type="Control" parent="."]
margin_right = 416.0
margin_bottom = 64.0
[node name="MonsterImageBackground" type="TextureRect" parent="Content"]
margin_left = 16.0
margin_top = 16.0
margin_right = 48.0
margin_bottom = 48.0
texture = ExtResource( 2 )
expand = true
__meta__ = {
"_edit_group_": true,
"_edit_use_anchors_": false
}
[node name="MonsterImage" type="AnimatedSprite" parent="Content/MonsterImageBackground"]
position = Vector2( 16, 16 )
frames = ExtResource( 1 )
animation = "greenSlime"
frame = 1
playing = true
[node name="MonsterName" type="Label" parent="Content"]
margin_left = 64.0
margin_top = 16.0
margin_right = 144.0
margin_bottom = 48.0
custom_fonts/font = ExtResource( 3 )
text = "绿色史莱姆"
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MonsterHp" type="Label" parent="Content"]
margin_left = 160.0
margin_top = 8.0
margin_right = 196.0
margin_bottom = 25.0
custom_fonts/font = SubResource( 2 )
text = "生命值"
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HpValue" type="Label" parent="Content/MonsterHp"]
anchor_top = 0.5
anchor_bottom = 0.5
margin_left = 48.0
margin_top = -8.5
margin_right = 112.0
margin_bottom = 8.5
custom_fonts/font = SubResource( 2 )
text = "35"
valign = 1
clip_text = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MonsterMoney" type="Label" parent="Content"]
margin_left = 160.0
margin_top = 40.0
margin_right = 184.0
margin_bottom = 57.0
custom_fonts/font = SubResource( 2 )
text = "金钱"
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MoneyValue" type="Label" parent="Content/MonsterMoney"]
anchor_top = 0.5
anchor_bottom = 0.5
margin_left = 48.0
margin_top = -8.5
margin_right = 112.0
margin_bottom = 8.5
custom_fonts/font = SubResource( 2 )
text = "1"
valign = 1
clip_text = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MonsterAtk" type="Label" parent="Content"]
margin_left = 288.0
margin_top = 8.0
margin_right = 324.0
margin_bottom = 25.0
custom_fonts/font = SubResource( 2 )
text = "攻击力"
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="AtkValue" type="Label" parent="Content/MonsterAtk"]
anchor_top = 0.5
anchor_bottom = 0.5
margin_left = 48.0
margin_top = -8.5
margin_right = 111.0
margin_bottom = 8.5
custom_fonts/font = SubResource( 2 )
text = "35"
valign = 1
clip_text = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MonsterDef" type="Label" parent="Content"]
margin_left = 288.0
margin_top = 40.0
margin_right = 324.0
margin_bottom = 57.0
custom_fonts/font = SubResource( 2 )
text = "防御力"
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="DefValue" type="Label" parent="Content/MonsterDef"]
anchor_top = 0.5
anchor_bottom = 0.5
margin_left = 48.0
margin_top = -8.5
margin_right = 111.0
margin_bottom = 8.5
custom_fonts/font = SubResource( 2 )
text = "1"
valign = 1
clip_text = true
__meta__ = {
"_edit_use_anchors_": false
}