[gd_scene load_steps=9 format=2] [ext_resource path="res://UpgradeMenu.gd" type="Script" id=1] [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] [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] [sub_resource type="Theme" id=1] [sub_resource type="SpriteFrames" id=2] animations = [ { "frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ) ], "loop": true, "name": "default", "speed": 5.0 } ] _sections_unfolded = [ "Resource" ] [node name="UpgradeMenu" type="Node"] pause_mode = 2 script = ExtResource( 1 ) _sections_unfolded = [ "Pause" ] [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 color = Color( 0.188874, 0.188049, 0.203125, 1 ) [node name="Resume" type="Button" parent="." index="1"] 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 [node name="Refund" type="Button" parent="." index="2"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 842.0 margin_top = 420.0 margin_right = 966.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 toggle_mode = false enabled_focus_mode = 2 shortcut = null group = null text = "Refund" flat = false align = 1 [node name="ShootingSpeedIcon" type="AnimatedSprite" parent="." index="3"] position = Vector2( 525.939, 118.838 ) scale = Vector2( 0.392712, 0.392712 ) frames = SubResource( 2 ) animation = "default" [node name="ShootingSpeedUpgrade" type="Button" parent="." index="4"] 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 = 652.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 [connection signal="button_down" from="Resume" to="." method="_on_Resume_button_down"] [connection signal="pressed" from="Resume" to="." method="_on_Button_pressed"] [connection signal="pressed" from="Refund" to="." method="_on_Refund_pressed"] [connection signal="pressed" from="ShootingSpeedUpgrade" to="." method="_on_ShootingSpeedUpgrade_pressed"]