2020-10-15 15:53:23 +02:00
|
|
|
[gd_scene load_steps=4 format=2]
|
2020-10-14 00:57:30 +02:00
|
|
|
|
|
|
|
[ext_resource path="res://fonts/default.tres" type="DynamicFont" id=1]
|
2020-10-15 15:53:23 +02:00
|
|
|
[ext_resource path="res://fonts/big.tres" type="DynamicFont" id=2]
|
2020-10-14 00:57:30 +02:00
|
|
|
[ext_resource path="res://cardgame.gd" type="Script" id=3]
|
|
|
|
|
2020-10-14 14:48:38 +02:00
|
|
|
[node name="Cards" type="Control"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
mouse_filter = 2
|
2020-10-14 00:57:30 +02:00
|
|
|
script = ExtResource( 3 )
|
2020-10-14 14:48:38 +02:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-10-14 00:57:30 +02:00
|
|
|
|
|
|
|
[node name="Button" type="Button" parent="."]
|
2020-10-14 14:48:38 +02:00
|
|
|
anchor_left = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
margin_left = -172.0
|
|
|
|
margin_top = 16.0
|
|
|
|
margin_right = -16.0
|
|
|
|
margin_bottom = 47.0
|
2020-10-14 00:57:30 +02:00
|
|
|
custom_fonts/font = ExtResource( 1 )
|
|
|
|
text = "Draw new cards"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-10-15 15:53:23 +02:00
|
|
|
|
|
|
|
[node name="Energy" type="Label" parent="."]
|
2020-10-15 16:11:02 +02:00
|
|
|
visible = false
|
2020-10-15 15:53:23 +02:00
|
|
|
modulate = Color( 0.431373, 0.792157, 0.423529, 1 )
|
|
|
|
margin_left = 28.2219
|
|
|
|
margin_top = 16.6766
|
|
|
|
margin_right = 68.2219
|
|
|
|
margin_bottom = 65.6766
|
|
|
|
rect_scale = Vector2( 2, 2 )
|
|
|
|
custom_fonts/font = ExtResource( 2 )
|
|
|
|
text = "3"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-10-14 00:57:30 +02:00
|
|
|
[connection signal="pressed" from="Button" to="." method="redraw_all_cards"]
|