2020-10-14 00:27:37 +02:00
|
|
|
[gd_scene load_steps=6 format=2]
|
2020-10-13 13:04:12 +02:00
|
|
|
|
2020-10-14 00:27:37 +02:00
|
|
|
[ext_resource path="res://fonts/default.tres" type="DynamicFont" id=1]
|
2020-10-13 14:16:36 +02:00
|
|
|
[ext_resource path="res://drop_area.tscn" type="PackedScene" id=2]
|
|
|
|
[ext_resource path="res://repository.tscn" type="PackedScene" id=3]
|
|
|
|
[ext_resource path="res://cardgame.gd" type="Script" id=4]
|
|
|
|
[ext_resource path="res://terminal.tscn" type="PackedScene" id=5]
|
2020-10-13 13:04:12 +02:00
|
|
|
|
|
|
|
[node name="Cardgame" type="Node2D"]
|
2020-10-13 14:16:36 +02:00
|
|
|
script = ExtResource( 4 )
|
2020-10-13 13:04:12 +02:00
|
|
|
|
2020-10-14 00:04:47 +02:00
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
|
|
margin_right = 1922.0
|
|
|
|
margin_bottom = 1083.0
|
|
|
|
mouse_filter = 2
|
|
|
|
color = Color( 0.0823529, 0.0823529, 0.0823529, 1 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-10-13 14:16:36 +02:00
|
|
|
[node name="Repository" parent="." instance=ExtResource( 3 )]
|
|
|
|
margin_right = 1481.0
|
|
|
|
margin_bottom = 592.0
|
2020-10-13 18:58:30 +02:00
|
|
|
simplified_view = true
|
2020-10-13 14:16:36 +02:00
|
|
|
|
|
|
|
[node name="DropArea" parent="." instance=ExtResource( 2 )]
|
2020-10-13 13:04:12 +02:00
|
|
|
|
2020-10-13 14:16:36 +02:00
|
|
|
[node name="Terminal" parent="." instance=ExtResource( 5 )]
|
|
|
|
margin_left = 1488.0
|
|
|
|
margin_top = 5.0
|
|
|
|
margin_right = 1914.0
|
|
|
|
margin_bottom = 586.0
|
2020-10-13 18:13:42 +02:00
|
|
|
|
|
|
|
[node name="Button" type="Button" parent="."]
|
2020-10-14 00:27:37 +02:00
|
|
|
margin_left = 1719.41
|
|
|
|
margin_top = 814.594
|
|
|
|
margin_right = 1892.41
|
|
|
|
margin_bottom = 856.594
|
|
|
|
custom_fonts/font = ExtResource( 1 )
|
2020-10-13 18:13:42 +02:00
|
|
|
text = "redraw cards"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-10-13 14:16:36 +02:00
|
|
|
[connection signal="command_done" from="Terminal" to="." method="_update_repo"]
|
2020-10-13 18:13:42 +02:00
|
|
|
[connection signal="pressed" from="Button" to="." method="redraw_all_cards"]
|