1
0
Fork 0
spacetac/cards/base_card.tscn

61 lines
1.6 KiB
Plaintext

[gd_scene load_steps=8 format=2]
[ext_resource path="res://cards/base_card.png" type="Texture" id=1]
[ext_resource path="res://cards/base_card.gd" type="Script" id=2]
[ext_resource path="res://theme/ui.tres" type="Theme" id=3]
[ext_resource path="res://theme/fonts/daggersquare.regular.otf" type="DynamicFontData" id=4]
[ext_resource path="res://cards/base_card_portrait.png" type="Texture" id=5]
[ext_resource path="res://units/points.tscn" type="PackedScene" id=6]
[sub_resource type="DynamicFont" id=1]
size = 22
font_data = ExtResource( 4 )
[node name="card" type="Panel"]
self_modulate = Color( 1, 1, 1, 0 )
margin_left = -90.0
margin_top = -120.0
margin_right = 90.0
margin_bottom = 120.0
mouse_default_cursor_shape = 6
theme = ExtResource( 3 )
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
portrait = ExtResource( 5 )
[node name="background" type="Sprite" parent="."]
position = Vector2( 90, 120 )
texture = ExtResource( 1 )
[node name="title" type="Label" parent="."]
margin_left = 30.0
margin_top = 10.0
margin_right = 150.0
margin_bottom = 45.0
theme = ExtResource( 3 )
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Card"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="portrait" type="Sprite" parent="."]
position = Vector2( 90, 140 )
scale = Vector2( 0.6, 0.6 )
texture = ExtResource( 5 )
[node name="points" parent="." instance=ExtResource( 6 )]
visible = false
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_top = 78.0
margin_bottom = 123.0
rect_scale = Vector2( 0.5, 0.5 )