203 lines
5.3 KiB
Plaintext
203 lines
5.3 KiB
Plaintext
[gd_scene load_steps=14 format=1]
|
|
|
|
[ext_resource path="res://game.gd" type="Script" id=1]
|
|
[ext_resource path="res://ui_hand.gd" type="Script" id=2]
|
|
[ext_resource path="res://ui/hand_border.tex" type="Texture" id=3]
|
|
[ext_resource path="res://ui/energy_bar.gd" type="Script" id=4]
|
|
[ext_resource path="res://ui/empty-bar.tex" type="Texture" id=5]
|
|
[ext_resource path="res://ui/full-bar.tex" type="Texture" id=6]
|
|
[ext_resource path="res://ui/energy.tex" type="Texture" id=7]
|
|
[ext_resource path="res://ui/black.tex" type="Texture" id=8]
|
|
[ext_resource path="res://ui/discard_deck.tscn" type="PackedScene" id=9]
|
|
[ext_resource path="res://ui/deck.tscn" type="PackedScene" id=10]
|
|
[ext_resource path="res://ui/starfield.tscn" type="PackedScene" id=11]
|
|
[ext_resource path="res://debug.gd" type="Script" id=12]
|
|
[ext_resource path="res://help.gd" type="Script" id=13]
|
|
|
|
[node name="game" type="Node2D"]
|
|
|
|
z/z = -1
|
|
script/script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_lock_": true
|
|
}
|
|
|
|
[node name="cards" type="Node2D" parent="."]
|
|
|
|
[node name="ui" type="Node2D" parent="."]
|
|
|
|
[node name="HandHolder" type="Node2D" parent="ui"]
|
|
|
|
transform/pos = Vector2( 142.702, 494.652 )
|
|
script/script = ExtResource( 2 )
|
|
|
|
[node name="Background" type="Sprite" parent="ui/HandHolder"]
|
|
|
|
visibility/behind_parent = true
|
|
transform/pos = Vector2( 373.51, 38.9889 )
|
|
z/z = -1
|
|
texture = ExtResource( 3 )
|
|
|
|
[node name="EnergyHolder" type="Node2D" parent="ui"]
|
|
|
|
transform/pos = Vector2( -0.527039, -7.28315 )
|
|
transform/scale = Vector2( 0.95, 0.95 )
|
|
script/script = ExtResource( 4 )
|
|
__meta__ = {
|
|
"_edit_lock_": true
|
|
}
|
|
|
|
[node name="ProgressBar" type="TextureProgress" parent="ui/EnergyHolder"]
|
|
|
|
hint/tooltip = "Energy remaining"
|
|
focus/ignore_mouse = false
|
|
focus/stop_mouse = true
|
|
size_flags/horizontal = 2
|
|
size_flags/vertical = 0
|
|
margin/left = 2.0
|
|
margin/top = 61.0
|
|
margin/right = 54.0
|
|
margin/bottom = 481.0
|
|
range/min = 0.0
|
|
range/max = 100.0
|
|
range/step = 1.0
|
|
range/page = 0.0
|
|
range/value = 100.0
|
|
range/exp_edit = false
|
|
range/rounded = false
|
|
texture/under = ExtResource( 5 )
|
|
texture/over = null
|
|
texture/progress = ExtResource( 6 )
|
|
mode = 3
|
|
radial_fill/fill_degrees = 360.0
|
|
radial_fill/center_offset = Vector2( 0, 0 )
|
|
|
|
[node name="icon" type="Sprite" parent="ui/EnergyHolder"]
|
|
|
|
transform/pos = Vector2( 28, 35 )
|
|
texture = ExtResource( 7 )
|
|
|
|
[node name="icon-bg" type="Sprite" parent="ui/EnergyHolder/icon"]
|
|
|
|
transform/scale = Vector2( 0.8125, 0.8125 )
|
|
z/z = -1
|
|
texture = ExtResource( 8 )
|
|
|
|
[node name="Label" type="Label" parent="ui/EnergyHolder"]
|
|
|
|
focus/ignore_mouse = true
|
|
focus/stop_mouse = true
|
|
size_flags/horizontal = 2
|
|
size_flags/vertical = 0
|
|
margin/left = 2.0
|
|
margin/top = 481.0
|
|
margin/right = 54.0
|
|
margin/bottom = 501.0
|
|
text = "100"
|
|
align = 1
|
|
valign = 1
|
|
clip_text = true
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="Sprite" type="Sprite" parent="ui/EnergyHolder/Label"]
|
|
|
|
transform/scale = Vector2( 1.625, 0.625 )
|
|
z/z = -1
|
|
texture = ExtResource( 8 )
|
|
centered = false
|
|
|
|
[node name="discard" parent="ui" instance=ExtResource( 9 )]
|
|
|
|
transform/pos = Vector2( 973.566, 533.945 )
|
|
|
|
[node name="deck" parent="ui" instance=ExtResource( 10 )]
|
|
|
|
transform/pos = Vector2( 59.459, 532.687 )
|
|
|
|
[node name="starfield" parent="ui" instance=ExtResource( 11 )]
|
|
|
|
z/z = -2
|
|
|
|
[node name="debug" type="Node2D" parent="ui"]
|
|
|
|
transform/pos = Vector2( 469.232, 34.61 )
|
|
script/script = ExtResource( 12 )
|
|
|
|
[node name="deckCount" type="Label" parent="ui/debug"]
|
|
|
|
focus/ignore_mouse = true
|
|
focus/stop_mouse = true
|
|
size_flags/horizontal = 2
|
|
size_flags/vertical = 0
|
|
margin/left = -7.0
|
|
margin/top = 1.0
|
|
margin/right = 33.0
|
|
margin/bottom = 15.0
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="handCount" type="Label" parent="ui/debug"]
|
|
|
|
focus/ignore_mouse = true
|
|
focus/stop_mouse = true
|
|
size_flags/horizontal = 2
|
|
size_flags/vertical = 0
|
|
margin/left = -7.0
|
|
margin/top = -16.0
|
|
margin/right = 33.0
|
|
margin/bottom = -2.0
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="discardCount" type="Label" parent="ui/debug"]
|
|
|
|
focus/ignore_mouse = true
|
|
focus/stop_mouse = true
|
|
size_flags/horizontal = 2
|
|
size_flags/vertical = 0
|
|
margin/left = -7.0
|
|
margin/top = -31.0
|
|
margin/right = 33.0
|
|
margin/bottom = -17.0
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="help" type="Label" parent="ui"]
|
|
|
|
focus/ignore_mouse = true
|
|
focus/stop_mouse = true
|
|
size_flags/horizontal = 2
|
|
size_flags/vertical = 0
|
|
margin/left = 350.0
|
|
margin/top = 10.0
|
|
margin/right = 750.0
|
|
margin/bottom = 110.0
|
|
align = 1
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
script/script = ExtResource( 13 )
|
|
|
|
[connection signal="game_deck_changed" from="." to="ui/debug" method="_on_game_game_deck_changed"]
|
|
|
|
[connection signal="game_deck_changed" from="." to="ui/deck" method="_on_game_deck_changed"]
|
|
|
|
[connection signal="game_discard_changed" from="." to="ui/debug" method="_on_game_game_discard_changed"]
|
|
|
|
[connection signal="game_discard_changed" from="." to="ui/discard" method="_on_game_game_discard_changed"]
|
|
|
|
[connection signal="game_energy_changed" from="." to="ui/EnergyHolder" method="_on_game_game_energy_changed"]
|
|
|
|
[connection signal="game_hand_changed" from="." to="ui/debug" method="_on_game_game_hand_changed"]
|
|
|
|
[connection signal="game_hand_changed" from="." to="ui/HandHolder" method="_on_game_game_hand_changed"]
|
|
|
|
[connection signal="game_state_changed" from="." to="." method="_on_game_game_state_changed"]
|
|
|
|
|