266 lines
9.1 KiB
Text
266 lines
9.1 KiB
Text
[gd_scene load_steps=15 format=2]
|
|
|
|
[ext_resource path="res://ui/theme.tres" type="Theme" id=1]
|
|
[ext_resource path="res://shaders/wibble_wobble.gdshader" type="Shader" id=2]
|
|
[ext_resource path="res://graphics/hud/sg_menu.png" type="Texture" id=3]
|
|
[ext_resource path="res://graphics/hud/pause_arrow.png" type="Texture" id=4]
|
|
[ext_resource path="res://menus/main_menu.gd" type="Script" id=5]
|
|
[ext_resource path="res://shaders/ska_plane.gdshader" type="Shader" id=6]
|
|
[ext_resource path="res://graphics/hud/sg_menu_blink.png" type="Texture" id=7]
|
|
[ext_resource path="res://ui/2ndpuberty_outline.tres" type="Material" id=8]
|
|
[ext_resource path="res://objects/hud/menu_sounds.tscn" type="PackedScene" id=9]
|
|
|
|
[sub_resource type="ShaderMaterial" id=2]
|
|
shader = ExtResource( 6 )
|
|
shader_param/color_1 = Color( 1, 0.835294, 0.619608, 1 )
|
|
shader_param/color_2 = Color( 1, 0.478431, 0.219608, 1 )
|
|
shader_param/checker_size = Vector2( 16, 16 )
|
|
shader_param/pan_speed = Vector2( 0, 0 )
|
|
shader_param/cycle_speed = Vector2( 12, 0 )
|
|
shader_param/cycle_alternation = Vector2( 0, 0 )
|
|
shader_param/uv_transform = Transform( 1, -2, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0 )
|
|
|
|
[sub_resource type="ShaderMaterial" id=3]
|
|
shader = ExtResource( 6 )
|
|
shader_param/color_1 = Color( 0.62, 0.797333, 1, 1 )
|
|
shader_param/color_2 = Color( 0.22, 0.428, 1, 1 )
|
|
shader_param/checker_size = Vector2( 16, 16 )
|
|
shader_param/pan_speed = Vector2( 0, 0 )
|
|
shader_param/cycle_speed = Vector2( 24, 0 )
|
|
shader_param/cycle_alternation = Vector2( 0, 0 )
|
|
shader_param/uv_transform = Transform( 1, 1, 0, 2, 1, 0, 0, 0, 1, 0, 0, 0 )
|
|
|
|
[sub_resource type="ShaderMaterial" id=6]
|
|
shader = ExtResource( 2 )
|
|
shader_param/speed = Vector2( 0, 4 )
|
|
shader_param/ammount = Vector2( 0, 1 )
|
|
shader_param/offset = Vector2( 0, 1 )
|
|
shader_param/delay = Vector2( 0, 0 )
|
|
|
|
[sub_resource type="ShaderMaterial" id=4]
|
|
shader = ExtResource( 2 )
|
|
shader_param/speed = Vector2( 4, 8 )
|
|
shader_param/ammount = Vector2( 1, 1 )
|
|
shader_param/offset = Vector2( 0, 0 )
|
|
shader_param/delay = Vector2( 0, 0 )
|
|
|
|
[sub_resource type="Animation" id=5]
|
|
resource_name = "blink"
|
|
length = 5.0
|
|
loop = true
|
|
step = 0.05
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath("SG/Eyes:visible")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = {
|
|
"times": PoolRealArray( 0, 4.3, 4.55 ),
|
|
"transitions": PoolRealArray( 1, 1, 1 ),
|
|
"update": 1,
|
|
"values": [ false, true, false ]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/path = NodePath("SG/Eyes:frame")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/keys = {
|
|
"times": PoolRealArray( 4.3, 4.35, 4.4, 4.45, 4.5 ),
|
|
"transitions": PoolRealArray( 1, 1, 1, 1, 1 ),
|
|
"update": 1,
|
|
"values": [ 0, 1, 2, 1, 0 ]
|
|
}
|
|
|
|
[node name="MainMenu" type="Node"]
|
|
script = ExtResource( 5 )
|
|
|
|
[node name="Background" type="ColorRect" parent="."]
|
|
material = SubResource( 2 )
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_top = 136.0
|
|
|
|
[node name="Background2" type="ColorRect" parent="."]
|
|
material = SubResource( 3 )
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_bottom = -56.0
|
|
|
|
[node name="SG" type="TextureRect" parent="."]
|
|
margin_left = 176.0
|
|
margin_top = 40.0
|
|
margin_right = 242.0
|
|
margin_bottom = 187.0
|
|
texture = ExtResource( 3 )
|
|
|
|
[node name="Eyes" type="Sprite" parent="SG"]
|
|
visible = false
|
|
position = Vector2( 33, 38 )
|
|
texture = ExtResource( 7 )
|
|
hframes = 3
|
|
|
|
[node name="Panel" type="Panel" parent="."]
|
|
material = SubResource( 6 )
|
|
margin_left = 16.0
|
|
margin_top = 32.0
|
|
margin_right = 136.0
|
|
margin_bottom = 120.0
|
|
theme = ExtResource( 1 )
|
|
|
|
[node name="Body" type="Label" parent="Panel"]
|
|
material = SubResource( 6 )
|
|
margin_left = 16.0
|
|
margin_top = 8.0
|
|
margin_right = 112.0
|
|
margin_bottom = 80.0
|
|
text = "file select
|
|
marathon mode
|
|
options
|
|
high scores
|
|
sound test
|
|
exit"
|
|
|
|
[node name="GreyedContinue" type="Label" parent="Panel/Body"]
|
|
visible = false
|
|
material = SubResource( 6 )
|
|
margin_top = 9001.0
|
|
margin_right = 56.0
|
|
margin_bottom = 9011.0
|
|
custom_colors/font_color = Color( 0.690196, 0.690196, 0.690196, 1 )
|
|
text = "Continue"
|
|
|
|
[node name="Continue" type="TextureButton" parent="Panel"]
|
|
visible = false
|
|
material = SubResource( 4 )
|
|
margin_left = 8.0
|
|
margin_top = 9.0
|
|
margin_right = 16.0
|
|
margin_bottom = 17.0
|
|
focus_neighbour_top = NodePath("../Exit")
|
|
focus_neighbour_bottom = NodePath("../FileSelect")
|
|
texture_focused = ExtResource( 4 )
|
|
|
|
[node name="FileSelect" type="TextureButton" parent="Panel"]
|
|
material = SubResource( 4 )
|
|
margin_left = 8.0
|
|
margin_top = 9.0
|
|
margin_right = 16.0
|
|
margin_bottom = 17.0
|
|
focus_neighbour_top = NodePath("../Exit")
|
|
focus_neighbour_bottom = NodePath("../MarathonMode")
|
|
texture_focused = ExtResource( 4 )
|
|
|
|
[node name="MarathonMode" type="TextureButton" parent="Panel"]
|
|
material = SubResource( 4 )
|
|
margin_left = 8.0
|
|
margin_top = 22.0
|
|
margin_right = 16.0
|
|
margin_bottom = 30.0
|
|
focus_neighbour_top = NodePath("../FileSelect")
|
|
focus_neighbour_bottom = NodePath("../Options")
|
|
texture_focused = ExtResource( 4 )
|
|
|
|
[node name="Augmentations" type="TextureButton" parent="Panel"]
|
|
visible = false
|
|
material = SubResource( 4 )
|
|
margin_left = 8.0
|
|
margin_top = 48.0
|
|
margin_right = 16.0
|
|
margin_bottom = 56.0
|
|
focus_neighbour_top = NodePath("../MarathonMode")
|
|
focus_neighbour_bottom = NodePath("../Options")
|
|
texture_focused = ExtResource( 4 )
|
|
|
|
[node name="Options" type="TextureButton" parent="Panel"]
|
|
material = SubResource( 4 )
|
|
margin_left = 8.0
|
|
margin_top = 35.0
|
|
margin_right = 16.0
|
|
margin_bottom = 43.0
|
|
focus_neighbour_top = NodePath("../MarathonMode")
|
|
focus_neighbour_bottom = NodePath("../HighScores")
|
|
texture_focused = ExtResource( 4 )
|
|
|
|
[node name="HighScores" type="TextureButton" parent="Panel"]
|
|
material = SubResource( 4 )
|
|
margin_left = 8.0
|
|
margin_top = 48.0
|
|
margin_right = 16.0
|
|
margin_bottom = 56.0
|
|
focus_neighbour_top = NodePath("../Options")
|
|
focus_neighbour_bottom = NodePath("../SoundTest")
|
|
texture_focused = ExtResource( 4 )
|
|
|
|
[node name="SoundTest" type="TextureButton" parent="Panel"]
|
|
material = SubResource( 4 )
|
|
margin_left = 8.0
|
|
margin_top = 61.0
|
|
margin_right = 16.0
|
|
margin_bottom = 69.0
|
|
focus_neighbour_top = NodePath("../HighScores")
|
|
focus_neighbour_bottom = NodePath("../Exit")
|
|
texture_focused = ExtResource( 4 )
|
|
|
|
[node name="Exit" type="TextureButton" parent="Panel"]
|
|
material = SubResource( 4 )
|
|
margin_left = 8.0
|
|
margin_top = 74.0
|
|
margin_right = 16.0
|
|
margin_bottom = 82.0
|
|
focus_neighbour_top = NodePath("../SoundTest")
|
|
focus_neighbour_bottom = NodePath("../FileSelect")
|
|
texture_focused = ExtResource( 4 )
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
autoplay = "blink"
|
|
anims/blink = SubResource( 5 )
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
material = ExtResource( 8 )
|
|
margin_left = 8.0
|
|
margin_top = 140.0
|
|
margin_right = 183.0
|
|
margin_bottom = 189.0
|
|
theme = ExtResource( 1 )
|
|
text = "REvolution -
|
|
The forceful overthrow of
|
|
a social order in favor
|
|
of a new future"
|
|
|
|
[node name="Label2" type="Label" parent="."]
|
|
material = ExtResource( 8 )
|
|
margin_left = 8.0
|
|
margin_top = 8.0
|
|
margin_right = 218.0
|
|
margin_bottom = 57.0
|
|
theme = ExtResource( 1 )
|
|
text = "Welcome to the future... 2083!"
|
|
align = 1
|
|
|
|
[node name="MenuSounds" parent="." instance=ExtResource( 9 )]
|
|
|
|
[connection signal="button_down" from="Panel/Continue" to="." method="_on_Continue_button_down"]
|
|
[connection signal="button_down" from="Panel/Continue" to="MenuSounds" method="play_confirm_sound"]
|
|
[connection signal="focus_entered" from="Panel/Continue" to="MenuSounds" method="play_select_sound"]
|
|
[connection signal="button_down" from="Panel/FileSelect" to="." method="_on_FileSelect_button_down"]
|
|
[connection signal="button_down" from="Panel/FileSelect" to="MenuSounds" method="play_confirm_sound"]
|
|
[connection signal="focus_entered" from="Panel/FileSelect" to="MenuSounds" method="play_select_sound"]
|
|
[connection signal="button_down" from="Panel/MarathonMode" to="." method="_on_MarathonMode_button_down"]
|
|
[connection signal="button_down" from="Panel/MarathonMode" to="MenuSounds" method="play_confirm_sound"]
|
|
[connection signal="focus_entered" from="Panel/MarathonMode" to="MenuSounds" method="play_select_sound"]
|
|
[connection signal="focus_entered" from="Panel/Augmentations" to="MenuSounds" method="play_select_sound"]
|
|
[connection signal="button_down" from="Panel/Options" to="." method="_on_Options_button_down"]
|
|
[connection signal="button_down" from="Panel/Options" to="MenuSounds" method="play_confirm_sound"]
|
|
[connection signal="focus_entered" from="Panel/Options" to="MenuSounds" method="play_select_sound"]
|
|
[connection signal="button_down" from="Panel/HighScores" to="." method="_on_HighScores_button_down"]
|
|
[connection signal="button_down" from="Panel/HighScores" to="MenuSounds" method="play_confirm_sound"]
|
|
[connection signal="focus_entered" from="Panel/HighScores" to="MenuSounds" method="play_select_sound"]
|
|
[connection signal="button_down" from="Panel/SoundTest" to="." method="_on_SoundTest_button_down"]
|
|
[connection signal="button_down" from="Panel/SoundTest" to="MenuSounds" method="play_confirm_sound"]
|
|
[connection signal="focus_entered" from="Panel/SoundTest" to="MenuSounds" method="play_select_sound"]
|
|
[connection signal="button_down" from="Panel/Exit" to="." method="_on_Exit_button_down"]
|
|
[connection signal="button_down" from="Panel/Exit" to="MenuSounds" method="play_confirm_sound"]
|
|
[connection signal="focus_entered" from="Panel/Exit" to="MenuSounds" method="play_select_sound"]
|