ld50/src/Game.tscn

279 lines
8.4 KiB
Plaintext

[gd_scene load_steps=30 format=2]
[ext_resource path="res://src/Game.gd" type="Script" id=1]
[ext_resource path="res://src/Playfield.tscn" type="PackedScene" id=2]
[ext_resource path="res://src/large font.tres" type="DynamicFont" id=3]
[ext_resource path="res://assets/source/Bitstream Vera Sans Mono Bold Nerd Font Complete.ttf" type="DynamicFontData" id=4]
[ext_resource path="res://src/EndMenu.tscn" type="PackedScene" id=5]
[ext_resource path="res://assets/export/end_song.wav" type="AudioStream" id=6]
[ext_resource path="res://assets/export/impossible.wav" type="AudioStream" id=7]
[ext_resource path="res://assets/export/thinkyoucan.wav" type="AudioStream" id=8]
[ext_resource path="res://assets/export/yammering.wav" type="AudioStream" id=9]
[ext_resource path="res://assets/export/stop_that.wav" type="AudioStream" id=10]
[ext_resource path="res://assets/export/huh.wav" type="AudioStream" id=11]
[ext_resource path="res://assets/export/dust.wav" type="AudioStream" id=12]
[ext_resource path="res://assets/export/hehe.wav" type="AudioStream" id=13]
[ext_resource path="res://assets/export/skip.png" type="Texture" id=14]
[ext_resource path="res://assets/export/skip_pressed.png" type="Texture" id=15]
[ext_resource path="res://assets/export/skip_disabled.png" type="Texture" id=16]
[ext_resource path="res://assets/export/skip_hover.png" type="Texture" id=17]
[ext_resource path="res://src/PieceDetails.tscn" type="PackedScene" id=18]
[ext_resource path="res://assets/export/hit2.wav" type="AudioStream" id=19]
[ext_resource path="res://assets/export/hit1.wav" type="AudioStream" id=20]
[ext_resource path="res://assets/export/hit3.wav" type="AudioStream" id=21]
[ext_resource path="res://assets/export/hit4.wav" type="AudioStream" id=22]
[ext_resource path="res://assets/export/kill2.wav" type="AudioStream" id=23]
[ext_resource path="res://assets/export/kill3.wav" type="AudioStream" id=24]
[ext_resource path="res://assets/export/kill4.wav" type="AudioStream" id=25]
[ext_resource path="res://assets/export/kill1.wav" type="AudioStream" id=26]
[sub_resource type="DynamicFont" id=1]
size = 24
outline_color = Color( 1, 0.635294, 0.121569, 1 )
font_data = ExtResource( 4 )
[sub_resource type="DynamicFont" id=2]
font_data = ExtResource( 4 )
[sub_resource type="DynamicFont" id=3]
size = 64
font_data = ExtResource( 4 )
[node name="Game" type="Container"]
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 2
size_flags_vertical = 2
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MarginContainer" type="MarginContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 256.0
margin_top = 128.0
margin_right = -256.0
margin_bottom = -128.0
size_flags_horizontal = 2
size_flags_vertical = 2
[node name="Playfield" parent="MarginContainer" instance=ExtResource( 2 )]
[node name="BottomBar" type="CenterContainer" parent="."]
anchor_bottom = 1.0
margin_left = 256.0
margin_top = 896.0
margin_right = 1024.0
rect_min_size = Vector2( 0, 64 )
[node name="Help" type="Label" parent="BottomBar"]
margin_left = 146.0
margin_top = 31.0
margin_right = 622.0
margin_bottom = 95.0
rect_min_size = Vector2( 0, 64 )
custom_fonts/font = SubResource( 1 )
text = "This is why you are doing it wrong"
valign = 1
[node name="TopBar" type="VBoxContainer" parent="."]
margin_left = 256.0
margin_right = 1024.0
margin_bottom = 128.0
[node name="Top" type="CenterContainer" parent="TopBar"]
margin_right = 768.0
margin_bottom = 64.0
rect_min_size = Vector2( 0, 64 )
[node name="HBoxContainer" type="HBoxContainer" parent="TopBar/Top"]
margin_left = 334.0
margin_top = 13.0
margin_right = 433.0
margin_bottom = 51.0
[node name="TurnLabel" type="Label" parent="TopBar/Top/HBoxContainer"]
margin_right = 76.0
margin_bottom = 38.0
custom_fonts/font = ExtResource( 3 )
text = "Turn"
[node name="Turn" type="Label" parent="TopBar/Top/HBoxContainer"]
margin_left = 80.0
margin_right = 99.0
margin_bottom = 38.0
custom_fonts/font = ExtResource( 3 )
text = "0"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Bottom" type="CenterContainer" parent="TopBar"]
margin_top = 68.0
margin_right = 768.0
margin_bottom = 132.0
rect_min_size = Vector2( 0, 64 )
[node name="Instruction" type="Label" parent="TopBar/Bottom"]
margin_left = 314.0
margin_right = 454.0
margin_bottom = 64.0
rect_min_size = Vector2( 0, 64 )
custom_fonts/font = SubResource( 1 )
text = "Do a thing"
valign = 1
[node name="EndMenu" parent="." instance=ExtResource( 5 )]
[node name="EndSong" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 6 )
[node name="Yammering" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 9 )
[node name="Dust" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 12 )
[node name="ThinkYouCan" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 8 )
[node name="Impossible" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 7 )
[node name="Hehe" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 13 )
[node name="Huh" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 11 )
[node name="StopThat" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 10 )
[node name="PanelRight" type="Panel" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 1036.0
[node name="VBox" type="VBoxContainer" parent="PanelRight"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 15.0
margin_top = 15.0
margin_right = -15.0
margin_bottom = -15.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBox" type="HBoxContainer" parent="PanelRight/VBox"]
margin_right = 214.0
margin_bottom = 87.0
alignment = 2
[node name="VBox" type="VBoxContainer" parent="PanelRight/VBox/HBox"]
margin_left = 124.0
margin_right = 214.0
margin_bottom = 87.0
alignment = 1
[node name="HBox" type="HBoxContainer" parent="PanelRight/VBox/HBox/VBox"]
margin_right = 90.0
margin_bottom = 64.0
alignment = 1
[node name="SkipTurnButton" type="TextureButton" parent="PanelRight/VBox/HBox/VBox/HBox"]
margin_left = 13.0
margin_right = 77.0
margin_bottom = 64.0
hint_tooltip = "Skip Turn"
texture_normal = ExtResource( 14 )
texture_pressed = ExtResource( 15 )
texture_hover = ExtResource( 17 )
texture_disabled = ExtResource( 16 )
stretch_mode = 3
[node name="Label" type="Label" parent="PanelRight/VBox/HBox/VBox"]
margin_top = 68.0
margin_right = 90.0
margin_bottom = 87.0
custom_fonts/font = SubResource( 2 )
text = "Skip Turn"
align = 1
valign = 1
[node name="PieceInfo" parent="PanelRight/VBox" instance=ExtResource( 18 )]
visible = false
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 91.0
margin_right = 214.0
margin_bottom = 91.0
[node name="PanelLeft" type="Panel" parent="."]
margin_right = 240.0
margin_bottom = 1024.0
[node name="Title" type="Label" parent="PanelLeft"]
margin_left = 50.0
margin_right = 40.0
margin_bottom = 14.0
custom_fonts/font = SubResource( 3 )
text = "É
C
H
E
C
C
H
E
S
S"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Subtitle" type="Label" parent="PanelLeft"]
margin_right = 40.0
margin_bottom = 14.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Hit1" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 20 )
[node name="Hit2" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 19 )
[node name="Hit3" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 21 )
[node name="Hit4" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 22 )
[node name="Kill1" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 26 )
[node name="Kill2" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 23 )
[node name="Kill3" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 24 )
[node name="Kill4" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 25 )
[connection signal="finished" from="EndSong" to="." method="_on_EndSong_finished"]
[connection signal="finished" from="Yammering" to="." method="_on_Yammering_finished"]
[connection signal="finished" from="Dust" to="." method="_on_Dust_finished"]
[connection signal="finished" from="ThinkYouCan" to="." method="_on_ThinkYouCan_finished"]
[connection signal="finished" from="Impossible" to="." method="_on_Impossible_finished"]
[connection signal="finished" from="Hehe" to="." method="_on_Hehe_finished"]
[connection signal="finished" from="Huh" to="." method="_on_Huh_finished"]
[connection signal="finished" from="StopThat" to="." method="_on_StopThat_finished"]
[connection signal="pressed" from="PanelRight/VBox/HBox/VBox/HBox/SkipTurnButton" to="." method="_on_SkipTurnButton_pressed"]