2018-05-29 00:08:30 -04:00
|
|
|
[gd_scene load_steps=16 format=2]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
|
|
|
[ext_resource path="res://UpgradeMenu.gd" type="Script" id=1]
|
2018-05-23 11:02:52 -04:00
|
|
|
[ext_resource path="res://art/upgrade_menu/shootingspeed1.png" type="Texture" id=2]
|
|
|
|
[ext_resource path="res://art/upgrade_menu/shootingspeed2.png" type="Texture" id=3]
|
2018-05-23 21:35:16 -04:00
|
|
|
[ext_resource path="res://art/upgrade_menu/shootingspeed3.png" type="Texture" id=4]
|
|
|
|
[ext_resource path="res://art/upgrade_menu/shootingspeed4.png" type="Texture" id=5]
|
|
|
|
[ext_resource path="res://art/upgrade_menu/shootingspeed5.png" type="Texture" id=6]
|
2018-05-26 02:55:17 -04:00
|
|
|
[ext_resource path="res://art/upgrade_menu/shipspeed1.png" type="Texture" id=7]
|
|
|
|
[ext_resource path="res://art/upgrade_menu/shipspeed2.png" type="Texture" id=8]
|
|
|
|
[ext_resource path="res://art/upgrade_menu/shipspeed3.png" type="Texture" id=9]
|
|
|
|
[ext_resource path="res://art/upgrade_menu/shipspeed4.png" type="Texture" id=10]
|
|
|
|
[ext_resource path="res://art/upgrade_menu/shipspeed5.png" type="Texture" id=11]
|
2018-05-29 00:08:30 -04:00
|
|
|
[ext_resource path="res://art/ColorSelect.png" type="Texture" id=12]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
|
|
|
[sub_resource type="Theme" id=1]
|
|
|
|
|
|
|
|
|
2018-05-23 11:02:52 -04:00
|
|
|
[sub_resource type="SpriteFrames" id=2]
|
|
|
|
|
|
|
|
animations = [ {
|
2018-05-23 21:35:16 -04:00
|
|
|
"frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ) ],
|
2018-05-23 11:02:52 -04:00
|
|
|
"loop": true,
|
|
|
|
"name": "default",
|
|
|
|
"speed": 5.0
|
|
|
|
} ]
|
2018-05-26 02:55:17 -04:00
|
|
|
|
|
|
|
[sub_resource type="SpriteFrames" id=3]
|
|
|
|
|
|
|
|
animations = [ {
|
|
|
|
"frames": [ ExtResource( 7 ), ExtResource( 8 ), ExtResource( 9 ), ExtResource( 10 ), ExtResource( 11 ) ],
|
|
|
|
"loop": true,
|
|
|
|
"name": "New Anim",
|
|
|
|
"speed": 5.0
|
|
|
|
} ]
|
2018-05-23 21:35:16 -04:00
|
|
|
_sections_unfolded = [ "Resource" ]
|
2018-05-23 11:02:52 -04:00
|
|
|
|
2018-05-23 21:35:16 -04:00
|
|
|
[node name="UpgradeMenu" type="Node"]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
|
|
|
pause_mode = 2
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
_sections_unfolded = [ "Pause" ]
|
|
|
|
|
2018-05-23 11:02:52 -04:00
|
|
|
[node name="ColorRect" type="ColorRect" parent="." index="0"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_right = 1026.0
|
|
|
|
margin_bottom = 605.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
2018-05-26 02:55:17 -04:00
|
|
|
color = Color( 0, 0, 0, 1 )
|
2018-05-23 11:02:52 -04:00
|
|
|
|
|
|
|
[node name="Resume" type="Button" parent="." index="1"]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 287.0
|
|
|
|
margin_top = 481.0
|
|
|
|
margin_right = 770.0
|
|
|
|
margin_bottom = 523.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
theme = SubResource( 1 )
|
|
|
|
toggle_mode = false
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
text = "Resume"
|
|
|
|
flat = false
|
|
|
|
align = 1
|
|
|
|
|
2018-05-23 11:02:52 -04:00
|
|
|
[node name="Refund" type="Button" parent="." index="2"]
|
2018-05-23 03:57:15 -04:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2018-05-26 02:55:17 -04:00
|
|
|
margin_left = 860.0
|
|
|
|
margin_top = 250.0
|
|
|
|
margin_right = 984.0
|
|
|
|
margin_bottom = 353.0
|
2018-05-23 03:57:15 -04:00
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
text = "Refund"
|
|
|
|
flat = false
|
|
|
|
align = 1
|
|
|
|
|
2018-05-26 02:55:17 -04:00
|
|
|
[node name="ShootingSpeedUpgrade" type="Node" parent="." index="3"]
|
|
|
|
|
|
|
|
[node name="Button" type="Button" parent="ShootingSpeedUpgrade" index="0"]
|
2018-05-23 11:02:52 -04:00
|
|
|
|
2018-05-26 02:55:17 -04:00
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 400.0
|
|
|
|
margin_top = 40.0
|
|
|
|
margin_right = 660.0
|
|
|
|
margin_bottom = 198.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
flat = true
|
|
|
|
align = 1
|
|
|
|
|
|
|
|
[node name="Icon" type="AnimatedSprite" parent="ShootingSpeedUpgrade" index="1"]
|
|
|
|
|
|
|
|
position = Vector2( 530, 120 )
|
2018-05-23 21:35:16 -04:00
|
|
|
scale = Vector2( 0.392712, 0.392712 )
|
2018-05-23 11:02:52 -04:00
|
|
|
frames = SubResource( 2 )
|
|
|
|
animation = "default"
|
|
|
|
|
2018-05-26 02:55:17 -04:00
|
|
|
[node name="ShipSpeedUpgrade" type="Node" parent="." index="4"]
|
|
|
|
|
|
|
|
[node name="Button" type="Button" parent="ShipSpeedUpgrade" index="0"]
|
2018-05-23 11:02:52 -04:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2018-05-23 21:35:16 -04:00
|
|
|
margin_left = 400.0
|
2018-05-26 02:55:17 -04:00
|
|
|
margin_top = 230.0
|
|
|
|
margin_right = 660.0
|
|
|
|
margin_bottom = 388.0
|
2018-05-23 11:02:52 -04:00
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
flat = true
|
|
|
|
align = 1
|
|
|
|
|
2018-05-26 02:55:17 -04:00
|
|
|
[node name="Icon" type="AnimatedSprite" parent="ShipSpeedUpgrade" index="1"]
|
|
|
|
|
|
|
|
position = Vector2( 530, 310 )
|
|
|
|
scale = Vector2( 0.392712, 0.392712 )
|
|
|
|
frames = SubResource( 3 )
|
|
|
|
animation = "New Anim"
|
|
|
|
|
2018-05-29 00:08:30 -04:00
|
|
|
[node name="ColorSelect" type="Node2D" parent="." index="5"]
|
|
|
|
|
|
|
|
[node name="ColorSelectBG" type="Sprite" parent="ColorSelect" index="0"]
|
|
|
|
|
|
|
|
position = Vector2( 150, 210 )
|
|
|
|
scale = Vector2( 0.179688, 0.179687 )
|
|
|
|
texture = ExtResource( 12 )
|
|
|
|
|
|
|
|
[node name="Goldenrod" type="Button" parent="ColorSelect/ColorSelectBG" index="0"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = -501.0
|
|
|
|
margin_top = -390.0
|
|
|
|
margin_right = -167.0
|
|
|
|
margin_bottom = -56.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
flat = true
|
|
|
|
align = 1
|
|
|
|
|
|
|
|
[node name="Purple" type="Button" parent="ColorSelect/ColorSelectBG" index="1"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = -167.0
|
|
|
|
margin_top = -390.0
|
|
|
|
margin_right = 167.0
|
|
|
|
margin_bottom = -56.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
flat = true
|
|
|
|
align = 1
|
|
|
|
|
|
|
|
[node name="SlateBlue" type="Button" parent="ColorSelect/ColorSelectBG" index="2"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 167.0
|
|
|
|
margin_top = -390.0
|
|
|
|
margin_right = 501.0
|
|
|
|
margin_bottom = -56.0001
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
flat = true
|
|
|
|
align = 1
|
|
|
|
|
|
|
|
[node name="Salmon" type="Button" parent="ColorSelect/ColorSelectBG" index="3"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = -501.0
|
|
|
|
margin_top = -56.0
|
|
|
|
margin_right = -167.0
|
|
|
|
margin_bottom = 278.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
flat = true
|
|
|
|
align = 1
|
|
|
|
|
|
|
|
[node name="Crimson" type="Button" parent="ColorSelect/ColorSelectBG" index="4"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = -167.0
|
|
|
|
margin_top = -56.0
|
|
|
|
margin_right = 167.0
|
|
|
|
margin_bottom = 278.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
flat = true
|
|
|
|
align = 1
|
|
|
|
|
|
|
|
[node name="MediumSpringGreen" type="Button" parent="ColorSelect/ColorSelectBG" index="5"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 167.0
|
|
|
|
margin_top = -56.0
|
|
|
|
margin_right = 501.0
|
|
|
|
margin_bottom = 278.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
flat = true
|
|
|
|
align = 1
|
|
|
|
|
|
|
|
[node name="Tomato" type="Button" parent="ColorSelect/ColorSelectBG" index="6"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 167.0
|
|
|
|
margin_top = 278.0
|
|
|
|
margin_right = 501.0
|
|
|
|
margin_bottom = 668.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
flat = true
|
|
|
|
align = 1
|
|
|
|
|
|
|
|
[node name="DarkenedLawnGreen" type="Button" parent="ColorSelect/ColorSelectBG" index="7"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = -167.0
|
|
|
|
margin_top = 334.0
|
|
|
|
margin_right = 167.0
|
|
|
|
margin_bottom = 668.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
flat = true
|
|
|
|
align = 1
|
|
|
|
|
|
|
|
[node name="DeepSkyBlue" type="Button" parent="ColorSelect/ColorSelectBG" index="8"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = -501.0
|
|
|
|
margin_top = 334.0
|
|
|
|
margin_right = -167.0
|
|
|
|
margin_bottom = 668.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
flat = true
|
|
|
|
align = 1
|
|
|
|
|
2018-05-23 11:02:52 -04:00
|
|
|
[connection signal="button_down" from="Resume" to="." method="_on_Resume_button_down"]
|
|
|
|
|
2018-05-23 03:57:15 -04:00
|
|
|
[connection signal="pressed" from="Resume" to="." method="_on_Button_pressed"]
|
|
|
|
|
|
|
|
[connection signal="pressed" from="Refund" to="." method="_on_Refund_pressed"]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-05-26 02:55:17 -04:00
|
|
|
[connection signal="pressed" from="ShootingSpeedUpgrade/Button" to="." method="_on_ShootingSpeedUpgrade_pressed"]
|
|
|
|
|
|
|
|
[connection signal="pressed" from="ShipSpeedUpgrade/Button" to="." method="_on_ShipSpeedUpgrade_pressed"]
|
2018-05-23 11:02:52 -04:00
|
|
|
|
2018-05-29 00:08:30 -04:00
|
|
|
[connection signal="pressed" from="ColorSelect/ColorSelectBG/Goldenrod" to="." method="_on_Goldenrod_pressed"]
|
|
|
|
|
|
|
|
[connection signal="pressed" from="ColorSelect/ColorSelectBG/Purple" to="." method="_on_Purple_pressed"]
|
|
|
|
|
|
|
|
[connection signal="pressed" from="ColorSelect/ColorSelectBG/SlateBlue" to="." method="_on_SlateBlue_pressed"]
|
|
|
|
|
|
|
|
[connection signal="pressed" from="ColorSelect/ColorSelectBG/Salmon" to="." method="_on_Salmon_pressed"]
|
|
|
|
|
|
|
|
[connection signal="pressed" from="ColorSelect/ColorSelectBG/Crimson" to="." method="_on_Crimson_pressed"]
|
|
|
|
|
|
|
|
[connection signal="pressed" from="ColorSelect/ColorSelectBG/MediumSpringGreen" to="." method="_on_MediumSpringGreen_pressed"]
|
|
|
|
|
|
|
|
[connection signal="pressed" from="ColorSelect/ColorSelectBG/Tomato" to="." method="_on_Tomato_pressed"]
|
|
|
|
|
|
|
|
[connection signal="pressed" from="ColorSelect/ColorSelectBG/DarkenedLawnGreen" to="." method="_on_DarkenedLawnGreen_pressed"]
|
|
|
|
|
|
|
|
[connection signal="pressed" from="ColorSelect/ColorSelectBG/DeepSkyBlue" to="." method="_on_DeepSkyBlue_pressed"]
|
|
|
|
|
2018-05-23 01:40:45 -04:00
|
|
|
|