mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
powerup system
This commit is contained in:
parent
c8747328cf
commit
77ca16be36
149 changed files with 2472 additions and 331 deletions
101
Menu/Pause.tscn
101
Menu/Pause.tscn
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=18 format=2]
|
||||
[gd_scene load_steps=21 format=2]
|
||||
|
||||
[ext_resource path="res://Menu/Buttons/RestartButton.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Menu/Icons/Play/Play2.png" type="Texture" id=2]
|
||||
|
@ -17,6 +17,13 @@
|
|||
[ext_resource path="res://Menu/Theme.tres" type="Theme" id=15]
|
||||
[ext_resource path="res://Menu/Buttons/Fullscreen/FullscreenButton.tscn" type="PackedScene" id=16]
|
||||
[ext_resource path="res://Menu/Buttons/ButtonSFX.tscn" type="PackedScene" id=17]
|
||||
[ext_resource path="res://Menu/Buttons/CameraFXButton.tscn" type="PackedScene" id=18]
|
||||
|
||||
[sub_resource type="InputEventAction" id=1]
|
||||
action = "ui_accept"
|
||||
|
||||
[sub_resource type="ShortCut" id=2]
|
||||
shortcut = SubResource( 1 )
|
||||
|
||||
[node name="Pause" type="CanvasLayer"]
|
||||
pause_mode = 2
|
||||
|
@ -41,60 +48,82 @@ theme = ExtResource( 15 )
|
|||
[node name="HBoxContainer" type="VBoxContainer" parent="Pause/PanelContainer"]
|
||||
margin_left = 2.0
|
||||
margin_top = 2.0
|
||||
margin_right = 142.0
|
||||
margin_bottom = 106.0
|
||||
margin_right = 155.0
|
||||
margin_bottom = 180.0
|
||||
alignment = 1
|
||||
|
||||
[node name="VBoxContainer" type="HBoxContainer" parent="Pause/PanelContainer/HBoxContainer"]
|
||||
margin_right = 140.0
|
||||
margin_bottom = 32.0
|
||||
[node name="Label" type="Label" parent="Pause/PanelContainer/HBoxContainer"]
|
||||
margin_right = 153.0
|
||||
margin_bottom = 18.0
|
||||
text = "paused..."
|
||||
|
||||
[node name="FullscreenButton" parent="Pause/PanelContainer/HBoxContainer/VBoxContainer" instance=ExtResource( 16 )]
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Pause/PanelContainer/HBoxContainer"]
|
||||
margin_top = 22.0
|
||||
margin_right = 153.0
|
||||
margin_bottom = 62.0
|
||||
alignment = 1
|
||||
|
||||
[node name="CameraFXButton" parent="Pause/PanelContainer/HBoxContainer/HBoxContainer" instance=ExtResource( 18 )]
|
||||
margin_left = 0.0
|
||||
margin_right = 72.0
|
||||
|
||||
[node name="FullscreenButton" parent="Pause/PanelContainer/HBoxContainer/HBoxContainer" instance=ExtResource( 16 )]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_right = 32.0
|
||||
margin_bottom = 32.0
|
||||
margin_left = 76.0
|
||||
margin_right = 153.0
|
||||
margin_bottom = 40.0
|
||||
rect_min_size = Vector2( 77, 40 )
|
||||
|
||||
[node name="SFX Volume" parent="Pause/PanelContainer/HBoxContainer" instance=ExtResource( 12 )]
|
||||
margin_top = 66.0
|
||||
margin_right = 153.0
|
||||
margin_bottom = 98.0
|
||||
custom_icons/grabber_highlight = ExtResource( 10 )
|
||||
custom_icons/grabber = ExtResource( 11 )
|
||||
bus_channel = "SFX"
|
||||
|
||||
[node name="Music Volume" parent="Pause/PanelContainer/HBoxContainer" instance=ExtResource( 12 )]
|
||||
margin_top = 102.0
|
||||
margin_right = 153.0
|
||||
margin_bottom = 134.0
|
||||
custom_icons/grabber_highlight = ExtResource( 14 )
|
||||
custom_icons/grabber = ExtResource( 13 )
|
||||
bus_channel = "Music"
|
||||
|
||||
[node name="VBoxContainer" type="HBoxContainer" parent="Pause/PanelContainer/HBoxContainer"]
|
||||
margin_top = 138.0
|
||||
margin_right = 153.0
|
||||
margin_bottom = 178.0
|
||||
alignment = 1
|
||||
|
||||
[node name="RestartButton" parent="Pause/PanelContainer/HBoxContainer/VBoxContainer" instance=ExtResource( 1 )]
|
||||
margin_left = 36.0
|
||||
margin_right = 68.0
|
||||
margin_bottom = 32.0
|
||||
margin_right = 56.0
|
||||
margin_bottom = 40.0
|
||||
size_flags_horizontal = 7
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="LevelSelectIconButton" parent="Pause/PanelContainer/HBoxContainer/VBoxContainer" instance=ExtResource( 6 )]
|
||||
margin_left = 72.0
|
||||
margin_right = 104.0
|
||||
margin_bottom = 32.0
|
||||
margin_left = 60.0
|
||||
margin_right = 117.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
texture_normal = ExtResource( 3 )
|
||||
texture_pressed = ExtResource( 5 )
|
||||
texture_hover = ExtResource( 4 )
|
||||
|
||||
[node name="Resume" type="TextureButton" parent="Pause/PanelContainer/HBoxContainer/VBoxContainer"]
|
||||
margin_left = 108.0
|
||||
margin_right = 140.0
|
||||
margin_bottom = 32.0
|
||||
margin_left = 121.0
|
||||
margin_right = 153.0
|
||||
margin_bottom = 40.0
|
||||
rect_min_size = Vector2( 0, 40 )
|
||||
shortcut = SubResource( 2 )
|
||||
texture_normal = ExtResource( 8 )
|
||||
texture_pressed = ExtResource( 9 )
|
||||
texture_hover = ExtResource( 2 )
|
||||
|
||||
[node name="ButtonSFX" parent="Pause/PanelContainer/HBoxContainer/VBoxContainer/Resume" instance=ExtResource( 17 )]
|
||||
|
||||
[node name="SFX Volume" parent="Pause/PanelContainer/HBoxContainer" instance=ExtResource( 12 )]
|
||||
margin_top = 36.0
|
||||
margin_right = 140.0
|
||||
margin_bottom = 68.0
|
||||
custom_icons/grabber_highlight = ExtResource( 10 )
|
||||
custom_icons/grabber = ExtResource( 11 )
|
||||
bus_channel = "SFX"
|
||||
|
||||
[node name="Music Volume" parent="Pause/PanelContainer/HBoxContainer" instance=ExtResource( 12 )]
|
||||
margin_top = 72.0
|
||||
margin_right = 140.0
|
||||
margin_bottom = 104.0
|
||||
custom_icons/grabber_highlight = ExtResource( 14 )
|
||||
custom_icons/grabber = ExtResource( 13 )
|
||||
bus_channel = "Music"
|
||||
|
||||
[connection signal="pressed" from="Pause/PanelContainer/HBoxContainer/VBoxContainer/RestartButton" to="Pause" method="_on_pause_button_pressed"]
|
||||
[connection signal="pressed" from="Pause/PanelContainer/HBoxContainer/VBoxContainer/LevelSelectIconButton" to="Pause" method="_on_pause_button_pressed"]
|
||||
[connection signal="focus_entered" from="Pause/PanelContainer/HBoxContainer/VBoxContainer/Resume" to="Pause/PanelContainer/HBoxContainer/VBoxContainer/Resume/ButtonSFX" method="on_hover"]
|
||||
[connection signal="mouse_entered" from="Pause/PanelContainer/HBoxContainer/VBoxContainer/Resume" to="Pause/PanelContainer/HBoxContainer/VBoxContainer/Resume/ButtonSFX" method="on_hover"]
|
||||
[connection signal="pressed" from="Pause/PanelContainer/HBoxContainer/VBoxContainer/Resume" to="Pause" method="_on_pause_button_pressed"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue