mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-03 19:04:40 +01:00
52 lines
1.3 KiB
Text
52 lines
1.3 KiB
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://fonts/default.tres" type="FontFile" id=1]
|
|
[ext_resource path="res://fonts/big.tres" type="FontFile" id=2]
|
|
[ext_resource path="res://scenes/cards.gd" type="Script" id=3]
|
|
|
|
[node name="Cards" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
mouse_filter = 2
|
|
script = ExtResource( 3 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
mouse_filter = 2
|
|
color = Color( 0.105882, 0.137255, 0.211765, 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Button" type="Button" parent="."]
|
|
visible = false
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
offset_left = -172.0
|
|
offset_top = 16.0
|
|
offset_right = -16.0
|
|
offset_bottom = 47.0
|
|
theme_override_fonts/font = ExtResource( 1 )
|
|
text = "Draw new cards"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Energy" type="Label" parent="."]
|
|
visible = false
|
|
modulate = Color( 0.431373, 0.792157, 0.423529, 1 )
|
|
offset_left = 28.2219
|
|
offset_top = 16.6766
|
|
offset_right = 68.2219
|
|
offset_bottom = 65.6766
|
|
scale = Vector2( 2, 2 )
|
|
theme_override_fonts/font = ExtResource( 2 )
|
|
text = "3"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
[connection signal="pressed" from="Button" to="." method="redraw_all_cards"]
|