powerup system

This commit is contained in:
zoe 2021-10-05 21:55:34 +02:00
parent c8747328cf
commit 77ca16be36
149 changed files with 2472 additions and 331 deletions

View file

@ -1,7 +1,8 @@
[gd_scene load_steps=3 format=2]
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Menu/Buttons/AudioSliders/VolumeSlider.gd" type="Script" id=1]
[ext_resource path="res://Menu/Theme.tres" type="Theme" id=2]
[ext_resource path="res://Menu/Buttons/ButtonSFX.tscn" type="PackedScene" id=3]
[node name="VolumeSlider" type="HSlider"]
margin_right = 500.0
@ -16,6 +17,12 @@ __meta__ = {
"_edit_use_anchors_": false
}
[node name="ButtonSFX" parent="." instance=ExtResource( 3 )]
[connection signal="focus_entered" from="." to="ButtonSFX" method="on_hover"]
[connection signal="focus_exited" from="." to="." method="save_volume"]
[connection signal="focus_exited" from="." to="ButtonSFX" method="on_select"]
[connection signal="mouse_entered" from="." to="ButtonSFX" method="on_hover"]
[connection signal="mouse_exited" from="." to="." method="save_volume"]
[connection signal="mouse_exited" from="." to="ButtonSFX" method="on_select"]
[connection signal="value_changed" from="." to="." method="_on_MusicVolumeSlider_value_changed"]

View file

@ -1,5 +1,4 @@
extends Node
func on_hover():
$Hover.play(0)

View file

@ -0,0 +1,8 @@
extends CheckBox
func _ready():
pressed = GameStats.camera_fx
func _on_CameraFXButton_toggled(button_pressed):
GameStats.camera_fx = button_pressed
Saves.save_game()

View file

@ -0,0 +1,27 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Menu/Theme.tres" type="Theme" id=1]
[ext_resource path="res://Menu/Icons/cameraFX/CameraMovement1.png" type="Texture" id=2]
[ext_resource path="res://Menu/Buttons/CameraFXButton.gd" type="Script" id=3]
[ext_resource path="res://Menu/Buttons/ButtonSFX.tscn" type="PackedScene" id=4]
[node name="CameraFXButton" type="CheckBox"]
margin_left = 290.0
margin_right = 368.0
margin_bottom = 40.0
size_flags_horizontal = 3
theme = ExtResource( 1 )
pressed = true
icon = ExtResource( 2 )
align = 2
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ButtonSFX" parent="." instance=ExtResource( 4 )]
[connection signal="focus_entered" from="." to="ButtonSFX" method="on_hover"]
[connection signal="mouse_entered" from="." to="ButtonSFX" method="on_hover"]
[connection signal="pressed" from="." to="ButtonSFX" method="on_select"]
[connection signal="toggled" from="." to="." method="_on_CameraFXButton_toggled"]

View file

@ -1,4 +1,4 @@
extends TextureButton
extends CheckBox

View file

@ -1,18 +1,13 @@
[gd_scene load_steps=6 format=2]
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Menu/Buttons/Fullscreen/fullscreen1.png" type="Texture" id=1]
[ext_resource path="res://Menu/Buttons/Fullscreen/fullscreen3.png" type="Texture" id=2]
[ext_resource path="res://Menu/Buttons/Fullscreen/fullscreen2.png" type="Texture" id=3]
[ext_resource path="res://Menu/Buttons/Fullscreen/FullscreenButton.gd" type="Script" id=4]
[ext_resource path="res://Menu/Buttons/ButtonSFX.tscn" type="PackedScene" id=5]
[node name="FullscreenButton" type="TextureButton"]
[node name="FullscreenButton" type="CheckBox"]
anchor_right = 1.0
anchor_bottom = 1.0
toggle_mode = true
texture_normal = ExtResource( 1 )
texture_pressed = ExtResource( 2 )
texture_hover = ExtResource( 3 )
icon = ExtResource( 1 )
script = ExtResource( 4 )
__meta__ = {
"_edit_use_anchors_": false

View file

@ -6,7 +6,7 @@ export var unlock_points_required = 0
func _ready():
if unlock_points_required > GameStats.unlock_points:
disabled = true
text = String(unlock_points_required - GameStats.unlock_points) + " more points"
text = String(unlock_points_required - GameStats.unlock_points) + " more xp"
func _on_SceneSelectButton_pressed():
GameStats.set_current_scene(scene)

View file

@ -9,4 +9,3 @@ func _on_LevelSelectIconButton_pressed():
var fadeout = Fadeout.instance()
fadeout.scene_to_load = scene
main.add_child(fadeout)
get_tree().paused = false

View file

@ -20,5 +20,5 @@ __meta__ = {
[connection signal="focus_entered" from="." to="ButtonSFX" method="on_hover"]
[connection signal="mouse_entered" from="." to="ButtonSFX" method="on_hover"]
[connection signal="pressed" from="." to="ButtonSFX" method="on_select"]
[connection signal="pressed" from="." to="." method="_on_SceneSelectButton_pressed"]
[connection signal="pressed" from="." to="ButtonSFX" method="on_select"]

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Floppy.png-9ffd77984850c7d94077108f3f8d3e76.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Menu/Icons/Floppy/Floppy.png"
dest_files=[ "res://.import/Floppy.png-9ffd77984850c7d94077108f3f8d3e76.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 296 B

After

Width:  |  Height:  |  Size: 305 B

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Screenshake1.png-b36c600885491200ca32b0720b48c4f9.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Menu/Icons/Screenshake/Screenshake1.png"
dest_files=[ "res://.import/Screenshake1.png-b36c600885491200ca32b0720b48c4f9.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Screenshake2.png-3114e9850546927b401b5626980b09a5.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Menu/Icons/Screenshake/Screenshake2.png"
dest_files=[ "res://.import/Screenshake2.png-3114e9850546927b401b5626980b09a5.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Screenshake3.png-7f143779a69ef48896d509f7edc8e771.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Menu/Icons/Screenshake/Screenshake3.png"
dest_files=[ "res://.import/Screenshake3.png-7f143779a69ef48896d509f7edc8e771.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/CameraMovement1.png-ca626eb0474f09633c9fca74aeba63e2.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Menu/Icons/cameraFX/CameraMovement1.png"
dest_files=[ "res://.import/CameraMovement1.png-ca626eb0474f09633c9fca74aeba63e2.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/CameraMovement2.png-cb87e24dd0a77d08c3a879a913c23d10.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Menu/Icons/cameraFX/CameraMovement2.png"
dest_files=[ "res://.import/CameraMovement2.png-cb87e24dd0a77d08c3a879a913c23d10.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/CameraMovement3.png-cfcf6662cd3fbcd45235082c1b01db51.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Menu/Icons/cameraFX/CameraMovement3.png"
dest_files=[ "res://.import/CameraMovement3.png-cfcf6662cd3fbcd45235082c1b01db51.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

BIN
Menu/Icons/check/check1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/check1.png-ff22ae034bbb6de21a78eb29c6a929d6.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Menu/Icons/check/check1.png"
dest_files=[ "res://.import/check1.png-ff22ae034bbb6de21a78eb29c6a929d6.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

BIN
Menu/Icons/check/check2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/check2.png-f56c07ebe0967cfcf27da62725325f41.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Menu/Icons/check/check2.png"
dest_files=[ "res://.import/check2.png-f56c07ebe0967cfcf27da62725325f41.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

View file

@ -2,7 +2,7 @@ extends PanelContainer
onready var stage_label = $CenterContainer/HBoxContainer/VBoxContainer/StageName
onready var score = $CenterContainer/HBoxContainer/VBoxContainer/ScoreLabel
onready var play = $CenterContainer/HBoxContainer/PlayButton
onready var play = $CenterContainer/HBoxContainer/VBoxContainer/PlayButton
func _ready():
var _game_stats = GameStats.connect("current_stage_changed", self, "update_info")

View file

@ -1,12 +1,19 @@
[gd_scene load_steps=5 format=2]
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Menu/LevelInfo.gd" type="Script" id=1]
[ext_resource path="res://Menu/Theme.tres" type="Theme" id=2]
[ext_resource path="res://Menu/XPLabel.gd" type="Script" id=3]
[ext_resource path="res://Menu/Buttons/PlayButton.tscn" type="PackedScene" id=6]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
[sub_resource type="InputEventAction" id=2]
action = "ui_accept"
[sub_resource type="ShortCut" id=3]
shortcut = SubResource( 2 )
[node name="LevelInfo" type="PanelContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
@ -23,26 +30,19 @@ margin_bottom = 216.0
[node name="HBoxContainer" type="HBoxContainer" parent="CenterContainer"]
margin_left = 133.0
margin_top = 88.0
margin_top = 59.0
margin_right = 250.0
margin_bottom = 128.0
alignment = 1
margin_bottom = 157.0
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer/HBoxContainer"]
margin_right = 117.0
margin_bottom = 40.0
alignment = 1
margin_bottom = 98.0
[node name="ScoreLabel" type="Label" parent="CenterContainer/HBoxContainer/VBoxContainer"]
[node name="XPLabel" type="Label" parent="CenterContainer/HBoxContainer/VBoxContainer"]
margin_right = 117.0
margin_bottom = 18.0
theme = ExtResource( 2 )
text = "high score"
align = 2
valign = 3
__meta__ = {
"_edit_use_anchors_": false
}
text = "XP: "
script = ExtResource( 3 )
[node name="StageName" type="Label" parent="CenterContainer/HBoxContainer/VBoxContainer"]
margin_top = 22.0
@ -50,16 +50,27 @@ margin_right = 117.0
margin_bottom = 40.0
theme = ExtResource( 2 )
text = "select stage"
align = 2
valign = 3
[node name="PlayButton" parent="CenterContainer/HBoxContainer" instance=ExtResource( 6 )]
visible = false
[node name="ScoreLabel" type="Label" parent="CenterContainer/HBoxContainer/VBoxContainer"]
margin_top = 44.0
margin_right = 117.0
margin_bottom = 62.0
theme = ExtResource( 2 )
text = "high score"
valign = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="PlayButton" parent="CenterContainer/HBoxContainer/VBoxContainer" instance=ExtResource( 6 )]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 121.0
margin_top = 0.0
margin_right = 153.0
margin_bottom = 32.0
margin_left = 0.0
margin_top = 66.0
margin_right = 32.0
margin_bottom = 98.0
shortcut_in_tooltip = false
shortcut = SubResource( 3 )

View file

@ -37,6 +37,7 @@ margin_right = 168.0
margin_bottom = 84.0
icon = ExtResource( 2 )
scene = "res://Stages/EmptyStage.tscn"
unlock_points_required = 1000
[node name="SceneSelectButton3" parent="LevelListHBox" instance=ExtResource( 5 )]
anchor_right = 0.0

View file

@ -1,10 +1,11 @@
[gd_scene load_steps=12 format=2]
[gd_scene load_steps=13 format=2]
[ext_resource path="res://Menu/Theme.tres" type="Theme" id=1]
[ext_resource path="res://Menu/LevelList.tscn" type="PackedScene" id=2]
[ext_resource path="res://Effects/FadeIn.tscn" type="PackedScene" id=3]
[ext_resource path="res://Cannon/Cannon.tscn" type="PackedScene" id=4]
[ext_resource path="res://Menu/Buttons/Fullscreen/FullscreenButton.tscn" type="PackedScene" id=5]
[ext_resource path="res://Menu/Buttons/CameraFXButton.tscn" type="PackedScene" id=6]
[ext_resource path="res://Menu/LevelInfo.tscn" type="PackedScene" id=7]
[ext_resource path="res://Menu/Buttons/AudioSliders/VolumeSlider.tscn" type="PackedScene" id=9]
[ext_resource path="res://Menu/Buttons/AudioSliders/MusicVolume1.png" type="Texture" id=10]
@ -55,21 +56,26 @@ __meta__ = {
}
[node name="HBoxContainer" type="HBoxContainer" parent="Control/TabContainer/Main Menu/VBoxContainer"]
margin_top = 133.0
margin_top = 125.0
margin_right = 368.0
margin_bottom = 165.0
alignment = 1
[node name="SFX Volume" parent="Control/TabContainer/Main Menu/VBoxContainer/HBoxContainer" instance=ExtResource( 9 )]
margin_left = 64.0
margin_right = 164.0
margin_right = 100.0
margin_bottom = 40.0
rect_min_size = Vector2( 100, 40 )
custom_icons/grabber_highlight = ExtResource( 13 )
custom_icons/grabber = ExtResource( 12 )
bus_channel = "SFX"
[node name="Music Volume" parent="Control/TabContainer/Main Menu/VBoxContainer/HBoxContainer" instance=ExtResource( 9 )]
margin_left = 168.0
margin_right = 268.0
margin_left = 104.0
margin_right = 204.0
margin_bottom = 40.0
rect_min_size = Vector2( 100, 40 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_icons/grabber_highlight = ExtResource( 11 )
custom_icons/grabber = ExtResource( 10 )
bus_channel = "Music"
@ -77,9 +83,15 @@ bus_channel = "Music"
[node name="FullscreenButton" parent="Control/TabContainer/Main Menu/VBoxContainer/HBoxContainer" instance=ExtResource( 5 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 272.0
margin_right = 304.0
margin_bottom = 32.0
margin_left = 208.0
margin_right = 286.0
margin_bottom = 40.0
size_flags_horizontal = 3
size_flags_vertical = 4
theme = ExtResource( 1 )
align = 2
[node name="CameraFXButton" parent="Control/TabContainer/Main Menu/VBoxContainer/HBoxContainer" instance=ExtResource( 6 )]
[node name="Levels" type="Tabs" parent="Control/TabContainer"]
visible = false
@ -95,20 +107,21 @@ theme = ExtResource( 1 )
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/separation = 4
alignment = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LevelList" parent="Control/TabContainer/Levels/HBoxContainer" instance=ExtResource( 2 )]
margin_left = 0.0
margin_right = 192.0
[node name="LevelInfo" parent="Control/TabContainer/Levels/HBoxContainer" instance=ExtResource( 7 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 55.0
margin_right = 172.0
margin_left = 196.0
margin_right = 313.0
margin_bottom = 165.0
[node name="LevelList" parent="Control/TabContainer/Levels/HBoxContainer" instance=ExtResource( 2 )]
[node name="Transition" parent="." instance=ExtResource( 3 )]
[node name="Cannon" parent="." instance=ExtResource( 4 )]

View file

@ -5,6 +5,7 @@ func _process(_delta):
_on_pause_button_pressed()
func _on_pause_button_pressed():
if !GameStats.level_won:
if !GameStats.level_won && !GameStats.powerup_screen_active:
get_tree().paused = !get_tree().paused
visible = !visible
Engine.time_scale = 1

View file

@ -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"]

View file

@ -0,0 +1,642 @@
[gd_resource type="Theme" load_steps=31 format=2]
[ext_resource path="res://Font/Yoster-island/Yoster16.tres" type="DynamicFont" id=1]
[ext_resource path="res://Font/Yoster-island/Yoster.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://Menu/Icons/check/check1.png" type="Texture" id=3]
[ext_resource path="res://Menu/Icons/check/check2.png" type="Texture" id=4]
[sub_resource type="DynamicFont" id=1]
font_data = ExtResource( 2 )
[sub_resource type="StyleBoxFlat" id=2]
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
[sub_resource type="StyleBoxFlat" id=3]
content_margin_left = 4.0
content_margin_right = 4.0
content_margin_top = 4.0
content_margin_bottom = 4.0
bg_color = Color( 0, 0, 0, 0 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0.968627, 1, 0.682353, 1 )
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id=4]
content_margin_left = 4.0
content_margin_right = 4.0
content_margin_top = 4.0
content_margin_bottom = 4.0
bg_color = Color( 1, 0.701961, 0.796078, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id=5]
content_margin_left = 4.0
content_margin_right = 4.0
content_margin_top = 4.0
content_margin_bottom = 4.0
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id=6]
content_margin_left = 4.0
content_margin_right = 4.0
content_margin_top = 4.0
content_margin_bottom = 4.0
bg_color = Color( 0.588235, 0.984314, 0.780392, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
[sub_resource type="StyleBoxFlat" id=7]
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id=8]
bg_color = Color( 0.588235, 0.984314, 0.780392, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id=9]
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
expand_margin_top = 14.0
expand_margin_bottom = 14.0
[sub_resource type="DynamicFont" id=10]
size = 18
outline_color = Color( 0.847059, 0.74902, 0.847059, 1 )
font_data = ExtResource( 2 )
[sub_resource type="StyleBoxFlat" id=11]
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
[sub_resource type="StyleBoxFlat" id=12]
content_margin_left = 2.0
content_margin_right = 2.0
content_margin_top = 2.0
content_margin_bottom = 2.0
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
corner_detail = 1
expand_margin_left = 2.0
expand_margin_right = 2.0
expand_margin_top = 2.0
expand_margin_bottom = 2.0
[sub_resource type="StyleBoxFlat" id=13]
[sub_resource type="StyleBoxFlat" id=14]
[sub_resource type="StyleBoxFlat" id=15]
content_margin_left = 2.0
content_margin_right = 2.0
content_margin_top = 2.0
content_margin_bottom = 2.0
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
[sub_resource type="StyleBoxFlat" id=16]
content_margin_left = 4.0
content_margin_right = 4.0
content_margin_top = 4.0
content_margin_bottom = 4.0
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id=17]
content_margin_left = 4.0
content_margin_right = 4.0
content_margin_top = 4.0
content_margin_bottom = 4.0
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
[sub_resource type="StyleBoxFlat" id=18]
content_margin_left = 4.0
content_margin_right = 4.0
content_margin_top = 4.0
content_margin_bottom = 4.0
bg_color = Color( 0.588235, 0.984314, 0.780392, 1 )
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id=19]
bg_color = Color( 0.454902, 0.337255, 0.607843, 1 )
[sub_resource type="StyleBoxFlat" id=20]
[sub_resource type="StyleBoxFlat" id=21]
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
[sub_resource type="StyleBoxFlat" id=22]
[sub_resource type="StyleBoxFlat" id=23]
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
[sub_resource type="StyleBoxFlat" id=24]
bg_color = Color( 1, 0.701961, 0.796078, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
[sub_resource type="StyleBoxFlat" id=25]
bg_color = Color( 0.588235, 0.984314, 0.780392, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
[sub_resource type="StyleBoxFlat" id=26]
content_margin_right = 16.0
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
border_width_left = 4
border_width_top = 4
border_width_right = 4
border_width_bottom = 4
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
[resource]
default_font = ExtResource( 1 )
Button/colors/font_color = Color( 0.454902, 0.337255, 0.607843, 1 )
Button/colors/font_color_disabled = Color( 0.454902, 0.337255, 0.607843, 1 )
Button/colors/font_color_hover = Color( 0.454902, 0.337255, 0.607843, 1 )
Button/colors/font_color_pressed = Color( 0.454902, 0.337255, 0.607843, 1 )
Button/constants/hseparation = 2
Button/fonts/font = SubResource( 1 )
Button/styles/disabled = SubResource( 2 )
Button/styles/focus = SubResource( 3 )
Button/styles/hover = SubResource( 4 )
Button/styles/normal = SubResource( 5 )
Button/styles/pressed = SubResource( 6 )
CheckBox/colors/font_color = Color( 0, 0, 0, 1 )
CheckBox/colors/font_color_disabled = Color( 0, 0, 0, 1 )
CheckBox/colors/font_color_hover = Color( 0, 0, 0, 1 )
CheckBox/colors/font_color_hover_pressed = Color( 0, 0, 0, 1 )
CheckBox/colors/font_color_pressed = Color( 0, 0, 0, 1 )
CheckBox/constants/check_vadjust = 0
CheckBox/constants/hseparation = 4
CheckBox/fonts/font = null
CheckBox/icons/checked = ExtResource( 4 )
CheckBox/icons/radio_checked = null
CheckBox/icons/radio_unchecked = null
CheckBox/icons/unchecked = ExtResource( 3 )
CheckBox/styles/disabled = null
CheckBox/styles/focus = null
CheckBox/styles/hover = null
CheckBox/styles/hover_pressed = null
CheckBox/styles/normal = null
CheckBox/styles/pressed = null
CheckButton/colors/font_color = Color( 0, 0, 0, 1 )
CheckButton/colors/font_color_disabled = Color( 0, 0, 0, 1 )
CheckButton/colors/font_color_hover = Color( 0, 0, 0, 1 )
CheckButton/colors/font_color_hover_pressed = Color( 0, 0, 0, 1 )
CheckButton/colors/font_color_pressed = Color( 0, 0, 0, 1 )
CheckButton/constants/check_vadjust = 0
CheckButton/constants/hseparation = 4
CheckButton/fonts/font = null
CheckButton/icons/off = null
CheckButton/icons/off_disabled = null
CheckButton/icons/on = null
CheckButton/icons/on_disabled = null
CheckButton/styles/disabled = null
CheckButton/styles/focus = null
CheckButton/styles/hover = null
CheckButton/styles/hover_pressed = null
CheckButton/styles/normal = null
CheckButton/styles/pressed = null
ColorPicker/constants/h_width = 30
ColorPicker/constants/label_width = 10
ColorPicker/constants/margin = 4
ColorPicker/constants/sv_height = 256
ColorPicker/constants/sv_width = 256
ColorPicker/icons/add_preset = null
ColorPicker/icons/color_hue = null
ColorPicker/icons/color_sample = null
ColorPicker/icons/overbright_indicator = null
ColorPicker/icons/preset_bg = null
ColorPicker/icons/screen_picker = null
ColorPickerButton/colors/font_color = Color( 0, 0, 0, 1 )
ColorPickerButton/colors/font_color_disabled = Color( 0, 0, 0, 1 )
ColorPickerButton/colors/font_color_hover = Color( 0, 0, 0, 1 )
ColorPickerButton/colors/font_color_pressed = Color( 0, 0, 0, 1 )
ColorPickerButton/constants/hseparation = 2
ColorPickerButton/fonts/font = null
ColorPickerButton/icons/bg = null
ColorPickerButton/styles/disabled = null
ColorPickerButton/styles/focus = null
ColorPickerButton/styles/hover = null
ColorPickerButton/styles/normal = null
ColorPickerButton/styles/pressed = null
Dialogs/constants/button_margin = 32
Dialogs/constants/margin = 8
FileDialog/colors/file_icon_modulate = Color( 0, 0, 0, 1 )
FileDialog/colors/files_disabled = Color( 0, 0, 0, 1 )
FileDialog/colors/folder_icon_modulate = Color( 0, 0, 0, 1 )
FileDialog/icons/file = null
FileDialog/icons/folder = null
FileDialog/icons/parent_folder = null
FileDialog/icons/reload = null
FileDialog/icons/toggle_hidden = null
Fonts/fonts/large = null
Fonts/fonts/normal = ExtResource( 1 )
GraphEdit/colors/activity = Color( 0, 0, 0, 1 )
GraphEdit/colors/grid_major = Color( 0, 0, 0, 1 )
GraphEdit/colors/grid_minor = Color( 0, 0, 0, 1 )
GraphEdit/colors/selection_fill = Color( 0, 0, 0, 1 )
GraphEdit/colors/selection_stroke = Color( 0, 0, 0, 1 )
GraphEdit/constants/bezier_len_neg = 160
GraphEdit/constants/bezier_len_pos = 80
GraphEdit/constants/port_grab_distance_horizontal = 48
GraphEdit/constants/port_grab_distance_vertical = 6
GraphEdit/icons/minimap = null
GraphEdit/icons/minus = null
GraphEdit/icons/more = null
GraphEdit/icons/reset = null
GraphEdit/icons/snap = null
GraphEdit/styles/bg = null
GraphEditMinimap/colors/resizer_color = Color( 0, 0, 0, 1 )
GraphEditMinimap/icons/resizer = null
GraphEditMinimap/styles/bg = null
GraphEditMinimap/styles/camera = null
GraphEditMinimap/styles/node = null
GraphNode/colors/close_color = Color( 0, 0, 0, 1 )
GraphNode/colors/resizer_color = Color( 0, 0, 0, 1 )
GraphNode/colors/title_color = Color( 0, 0, 0, 1 )
GraphNode/constants/close_offset = 18
GraphNode/constants/port_offset = 3
GraphNode/constants/separation = 1
GraphNode/constants/title_offset = 20
GraphNode/fonts/title_font = null
GraphNode/icons/close = null
GraphNode/icons/port = null
GraphNode/icons/resizer = null
GraphNode/styles/breakpoint = null
GraphNode/styles/comment = null
GraphNode/styles/commentfocus = null
GraphNode/styles/defaultfocus = null
GraphNode/styles/defaultframe = null
GraphNode/styles/frame = null
GraphNode/styles/position = null
GraphNode/styles/selectedframe = null
GridContainer/constants/hseparation = 4
GridContainer/constants/vseparation = 4
HBoxContainer/constants/separation = 4
HScrollBar/icons/decrement = null
HScrollBar/icons/decrement_highlight = null
HScrollBar/icons/increment = null
HScrollBar/icons/increment_highlight = null
HScrollBar/styles/grabber = null
HScrollBar/styles/grabber_highlight = null
HScrollBar/styles/grabber_pressed = null
HScrollBar/styles/scroll = null
HScrollBar/styles/scroll_focus = null
HSeparator/constants/separation = 4
HSeparator/styles/separator = null
HSlider/icons/grabber = null
HSlider/icons/grabber_disabled = null
HSlider/icons/grabber_highlight = null
HSlider/icons/tick = null
HSlider/styles/grabber_area = SubResource( 7 )
HSlider/styles/grabber_area_highlight = SubResource( 8 )
HSlider/styles/slider = SubResource( 9 )
HSplitContainer/constants/autohide = 1
HSplitContainer/constants/separation = 12
HSplitContainer/icons/grabber = null
HSplitContainer/styles/bg = null
Icons/icons/close = null
ItemList/colors/font_color = Color( 0, 0, 0, 1 )
ItemList/colors/font_color_selected = Color( 0, 0, 0, 1 )
ItemList/colors/guide_color = Color( 0, 0, 0, 1 )
ItemList/constants/hseparation = 4
ItemList/constants/icon_margin = 4
ItemList/constants/line_separation = 2
ItemList/constants/vseparation = 2
ItemList/fonts/font = null
ItemList/styles/bg = null
ItemList/styles/bg_focus = null
ItemList/styles/cursor = null
ItemList/styles/cursor_unfocused = null
ItemList/styles/selected = null
ItemList/styles/selected_focus = null
Label/colors/font_color = Color( 0.454902, 0.337255, 0.607843, 1 )
Label/colors/font_color_shadow = Color( 0, 0, 0, 0 )
Label/colors/font_outline_modulate = Color( 1, 1, 1, 1 )
Label/constants/line_spacing = 3
Label/constants/shadow_as_outline = 0
Label/constants/shadow_offset_x = 1
Label/constants/shadow_offset_y = 1
Label/fonts/font = SubResource( 10 )
Label/styles/normal = null
LineEdit/colors/clear_button_color = Color( 0, 0, 0, 1 )
LineEdit/colors/clear_button_color_pressed = Color( 0, 0, 0, 1 )
LineEdit/colors/cursor_color = Color( 0, 0, 0, 1 )
LineEdit/colors/font_color = Color( 0, 0, 0, 1 )
LineEdit/colors/font_color_selected = Color( 0, 0, 0, 1 )
LineEdit/colors/font_color_uneditable = Color( 0, 0, 0, 1 )
LineEdit/colors/selection_color = Color( 0, 0, 0, 1 )
LineEdit/constants/minimum_spaces = 12
LineEdit/fonts/font = null
LineEdit/icons/clear = null
LineEdit/styles/focus = null
LineEdit/styles/normal = null
LineEdit/styles/read_only = null
LinkButton/colors/font_color = Color( 0, 0, 0, 1 )
LinkButton/colors/font_color_hover = Color( 0, 0, 0, 1 )
LinkButton/colors/font_color_pressed = Color( 0, 0, 0, 1 )
LinkButton/constants/underline_spacing = 2
LinkButton/fonts/font = null
LinkButton/styles/focus = null
MarginContainer/constants/margin_bottom = 0
MarginContainer/constants/margin_left = 0
MarginContainer/constants/margin_right = 0
MarginContainer/constants/margin_top = 0
MenuButton/colors/font_color = Color( 0, 0, 0, 1 )
MenuButton/colors/font_color_disabled = Color( 0, 0, 0, 1 )
MenuButton/colors/font_color_hover = Color( 0, 0, 0, 1 )
MenuButton/colors/font_color_pressed = Color( 0, 0, 0, 1 )
MenuButton/constants/hseparation = 3
MenuButton/fonts/font = null
MenuButton/styles/disabled = null
MenuButton/styles/focus = null
MenuButton/styles/hover = null
MenuButton/styles/normal = null
MenuButton/styles/pressed = null
OptionButton/colors/font_color = Color( 0, 0, 0, 1 )
OptionButton/colors/font_color_disabled = Color( 0, 0, 0, 1 )
OptionButton/colors/font_color_hover = Color( 0, 0, 0, 1 )
OptionButton/colors/font_color_pressed = Color( 0, 0, 0, 1 )
OptionButton/constants/arrow_margin = 2
OptionButton/constants/hseparation = 2
OptionButton/fonts/font = null
OptionButton/icons/arrow = null
OptionButton/styles/disabled = null
OptionButton/styles/focus = null
OptionButton/styles/hover = null
OptionButton/styles/normal = null
OptionButton/styles/pressed = null
Panel/styles/panel = SubResource( 11 )
PanelContainer/styles/panel = SubResource( 12 )
PopupDialog/styles/panel = SubResource( 13 )
PopupMenu/colors/font_color = Color( 0, 0, 0, 1 )
PopupMenu/colors/font_color_accel = Color( 0, 0, 0, 1 )
PopupMenu/colors/font_color_disabled = Color( 0, 0, 0, 1 )
PopupMenu/colors/font_color_hover = Color( 0, 0, 0, 1 )
PopupMenu/colors/font_color_separator = Color( 0, 0, 0, 1 )
PopupMenu/constants/hseparation = 4
PopupMenu/constants/vseparation = 4
PopupMenu/fonts/font = null
PopupMenu/icons/checked = null
PopupMenu/icons/radio_checked = null
PopupMenu/icons/radio_unchecked = null
PopupMenu/icons/submenu = null
PopupMenu/icons/unchecked = null
PopupMenu/styles/hover = null
PopupMenu/styles/labeled_separator_left = null
PopupMenu/styles/labeled_separator_right = null
PopupMenu/styles/panel = null
PopupMenu/styles/panel_disabled = null
PopupMenu/styles/separator = null
PopupPanel/styles/panel = SubResource( 14 )
ProgressBar/colors/font_color = Color( 0, 0, 0, 1 )
ProgressBar/colors/font_color_shadow = Color( 0, 0, 0, 1 )
ProgressBar/fonts/font = null
ProgressBar/styles/bg = null
ProgressBar/styles/fg = null
RichTextLabel/colors/default_color = Color( 0, 0, 0, 1 )
RichTextLabel/colors/font_color_selected = Color( 0, 0, 0, 1 )
RichTextLabel/colors/font_color_shadow = Color( 0, 0, 0, 1 )
RichTextLabel/colors/selection_color = Color( 0, 0, 0, 1 )
RichTextLabel/constants/line_separation = 1
RichTextLabel/constants/shadow_as_outline = 0
RichTextLabel/constants/shadow_offset_x = 1
RichTextLabel/constants/shadow_offset_y = 1
RichTextLabel/constants/table_hseparation = 3
RichTextLabel/constants/table_vseparation = 3
RichTextLabel/fonts/bold_font = null
RichTextLabel/fonts/bold_italics_font = null
RichTextLabel/fonts/italics_font = null
RichTextLabel/fonts/mono_font = null
RichTextLabel/fonts/normal_font = null
RichTextLabel/styles/focus = null
RichTextLabel/styles/normal = null
ScrollContainer/styles/bg = SubResource( 15 )
SpinBox/icons/updown = null
TabContainer/colors/font_color_bg = Color( 0, 0, 0, 1 )
TabContainer/colors/font_color_disabled = Color( 0, 0, 0, 1 )
TabContainer/colors/font_color_fg = Color( 0, 0, 0, 1 )
TabContainer/constants/hseparation = 4
TabContainer/constants/label_valign_bg = 2
TabContainer/constants/label_valign_fg = 0
TabContainer/constants/side_margin = 8
TabContainer/constants/top_margin = 24
TabContainer/fonts/font = null
TabContainer/icons/decrement = null
TabContainer/icons/decrement_highlight = null
TabContainer/icons/increment = null
TabContainer/icons/increment_highlight = null
TabContainer/icons/menu = null
TabContainer/icons/menu_highlight = null
TabContainer/styles/panel = SubResource( 16 )
TabContainer/styles/tab_bg = SubResource( 17 )
TabContainer/styles/tab_disabled = null
TabContainer/styles/tab_fg = SubResource( 18 )
Tabs/colors/font_color_bg = Color( 0.454902, 0.337255, 0.607843, 1 )
Tabs/colors/font_color_disabled = Color( 0.454902, 0.337255, 0.607843, 1 )
Tabs/colors/font_color_fg = Color( 0.454902, 0.337255, 0.607843, 1 )
Tabs/constants/hseparation = 8
Tabs/constants/label_valign_bg = 2
Tabs/constants/label_valign_fg = 0
Tabs/constants/top_margin = 24
Tabs/fonts/font = null
Tabs/icons/close = null
Tabs/icons/decrement = null
Tabs/icons/decrement_highlight = null
Tabs/icons/increment = null
Tabs/icons/increment_highlight = null
Tabs/styles/button = SubResource( 19 )
Tabs/styles/button_pressed = null
Tabs/styles/panel = SubResource( 20 )
Tabs/styles/tab_bg = SubResource( 21 )
Tabs/styles/tab_disabled = null
Tabs/styles/tab_fg = null
TextEdit/colors/background_color = Color( 0, 0, 0, 1 )
TextEdit/colors/bookmark_color = Color( 0, 0, 0, 1 )
TextEdit/colors/brace_mismatch_color = Color( 0, 0, 0, 1 )
TextEdit/colors/breakpoint_color = Color( 0, 0, 0, 1 )
TextEdit/colors/caret_background_color = Color( 0, 0, 0, 1 )
TextEdit/colors/caret_color = Color( 0, 0, 0, 1 )
TextEdit/colors/code_folding_color = Color( 0, 0, 0, 1 )
TextEdit/colors/completion_background_color = Color( 0, 0, 0, 1 )
TextEdit/colors/completion_existing_color = Color( 0, 0, 0, 1 )
TextEdit/colors/completion_font_color = Color( 0, 0, 0, 1 )
TextEdit/colors/completion_scroll_color = Color( 0, 0, 0, 1 )
TextEdit/colors/completion_selected_color = Color( 0, 0, 0, 1 )
TextEdit/colors/current_line_color = Color( 0, 0, 0, 1 )
TextEdit/colors/executing_line_color = Color( 0, 0, 0, 1 )
TextEdit/colors/font_color = Color( 0, 0, 0, 1 )
TextEdit/colors/font_color_readonly = Color( 0, 0, 0, 1 )
TextEdit/colors/font_color_selected = Color( 0, 0, 0, 1 )
TextEdit/colors/function_color = Color( 0, 0, 0, 1 )
TextEdit/colors/line_number_color = Color( 0, 0, 0, 1 )
TextEdit/colors/mark_color = Color( 0, 0, 0, 1 )
TextEdit/colors/member_variable_color = Color( 0, 0, 0, 1 )
TextEdit/colors/number_color = Color( 0, 0, 0, 1 )
TextEdit/colors/safe_line_number_color = Color( 0, 0, 0, 1 )
TextEdit/colors/selection_color = Color( 0, 0, 0, 1 )
TextEdit/colors/symbol_color = Color( 0, 0, 0, 1 )
TextEdit/colors/word_highlighted_color = Color( 0, 0, 0, 1 )
TextEdit/constants/completion_lines = 7
TextEdit/constants/completion_max_width = 50
TextEdit/constants/completion_scroll_width = 3
TextEdit/constants/line_spacing = 4
TextEdit/fonts/font = null
TextEdit/icons/fold = null
TextEdit/icons/folded = null
TextEdit/icons/space = null
TextEdit/icons/tab = null
TextEdit/styles/completion = null
TextEdit/styles/focus = null
TextEdit/styles/normal = null
TextEdit/styles/read_only = null
ToolButton/colors/font_color = Color( 0, 0, 0, 1 )
ToolButton/colors/font_color_disabled = Color( 0, 0, 0, 1 )
ToolButton/colors/font_color_hover = Color( 0, 0, 0, 1 )
ToolButton/colors/font_color_pressed = Color( 0, 0, 0, 1 )
ToolButton/constants/hseparation = 3
ToolButton/fonts/font = null
ToolButton/styles/disabled = null
ToolButton/styles/focus = null
ToolButton/styles/hover = null
ToolButton/styles/normal = null
ToolButton/styles/pressed = null
TooltipLabel/colors/font_color = Color( 0, 0, 0, 1 )
TooltipLabel/colors/font_color_shadow = Color( 0, 0, 0, 1 )
TooltipLabel/constants/shadow_offset_x = 1
TooltipLabel/constants/shadow_offset_y = 1
TooltipLabel/fonts/font = null
TooltipPanel/styles/panel = SubResource( 22 )
Tree/colors/custom_button_font_highlight = Color( 0, 0, 0, 1 )
Tree/colors/drop_position_color = Color( 0, 0, 0, 1 )
Tree/colors/font_color = Color( 0, 0, 0, 1 )
Tree/colors/font_color_selected = Color( 0, 0, 0, 1 )
Tree/colors/guide_color = Color( 0, 0, 0, 1 )
Tree/colors/relationship_line_color = Color( 0, 0, 0, 1 )
Tree/colors/title_button_color = Color( 0, 0, 0, 1 )
Tree/constants/button_margin = 4
Tree/constants/draw_guides = 1
Tree/constants/draw_relationship_lines = 0
Tree/constants/hseparation = 4
Tree/constants/item_margin = 12
Tree/constants/scroll_border = 4
Tree/constants/scroll_speed = 12
Tree/constants/vseparation = 4
Tree/fonts/font = null
Tree/fonts/title_button_font = null
Tree/icons/arrow = null
Tree/icons/arrow_collapsed = null
Tree/icons/checked = null
Tree/icons/select_arrow = null
Tree/icons/unchecked = null
Tree/icons/updown = null
Tree/styles/bg = null
Tree/styles/bg_focus = null
Tree/styles/button_pressed = null
Tree/styles/cursor = null
Tree/styles/cursor_unfocused = null
Tree/styles/custom_button = null
Tree/styles/custom_button_hover = null
Tree/styles/custom_button_pressed = null
Tree/styles/selected = null
Tree/styles/selected_focus = null
Tree/styles/title_button_hover = null
Tree/styles/title_button_normal = null
Tree/styles/title_button_pressed = null
VBoxContainer/constants/separation = 4
VScrollBar/icons/decrement = null
VScrollBar/icons/decrement_highlight = null
VScrollBar/icons/increment = null
VScrollBar/icons/increment_highlight = null
VScrollBar/styles/grabber = SubResource( 23 )
VScrollBar/styles/grabber_highlight = SubResource( 24 )
VScrollBar/styles/grabber_pressed = SubResource( 25 )
VScrollBar/styles/scroll = SubResource( 26 )
VScrollBar/styles/scroll_focus = null
VSeparator/constants/separation = 4
VSeparator/styles/separator = null
VSlider/icons/grabber = null
VSlider/icons/grabber_disabled = null
VSlider/icons/grabber_highlight = null
VSlider/icons/tick = null
VSlider/styles/grabber_area = null
VSlider/styles/grabber_area_highlight = null
VSlider/styles/slider = null
VSplitContainer/constants/autohide = 1
VSplitContainer/constants/separation = 12
VSplitContainer/icons/grabber = null
VSplitContainer/styles/bg = null
WindowDialog/colors/title_color = Color( 0, 0, 0, 1 )
WindowDialog/constants/close_h_ofs = 18
WindowDialog/constants/close_v_ofs = 18
WindowDialog/constants/scaleborder_size = 4
WindowDialog/constants/title_height = 20
WindowDialog/fonts/title_font = null
WindowDialog/icons/close = null
WindowDialog/icons/close_highlight = null
WindowDialog/styles/panel = null

View file

@ -1,7 +1,9 @@
[gd_resource type="Theme" load_steps=26 format=2]
[gd_resource type="Theme" load_steps=30 format=2]
[ext_resource path="res://Font/Yoster-island/Yoster16.tres" type="DynamicFont" id=1]
[ext_resource path="res://Font/Yoster-island/Yoster.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://Menu/Icons/check/check1.png" type="Texture" id=3]
[ext_resource path="res://Menu/Icons/check/check2.png" type="Texture" id=4]
[sub_resource type="DynamicFont" id=1]
font_data = ExtResource( 2 )
@ -119,42 +121,46 @@ expand_margin_top = 2.0
expand_margin_bottom = 2.0
[sub_resource type="StyleBoxFlat" id=13]
[sub_resource type="StyleBoxFlat" id=14]
[sub_resource type="StyleBoxFlat" id=15]
content_margin_left = 2.0
content_margin_right = 2.0
content_margin_top = 2.0
content_margin_bottom = 2.0
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
[sub_resource type="StyleBoxFlat" id=14]
content_margin_left = 4.0
content_margin_right = 4.0
content_margin_top = 4.0
content_margin_bottom = 4.0
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id=15]
content_margin_left = 4.0
content_margin_right = 4.0
content_margin_top = 4.0
content_margin_bottom = 4.0
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
[sub_resource type="StyleBoxFlat" id=16]
content_margin_left = 4.0
content_margin_right = 4.0
content_margin_top = 4.0
content_margin_bottom = 4.0
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id=17]
content_margin_left = 4.0
content_margin_right = 4.0
content_margin_top = 4.0
content_margin_bottom = 4.0
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
[sub_resource type="StyleBoxFlat" id=18]
content_margin_left = 4.0
content_margin_right = 4.0
content_margin_top = 4.0
content_margin_bottom = 4.0
bg_color = Color( 0.588235, 0.984314, 0.780392, 1 )
border_width_left = 1
border_width_top = 1
@ -163,32 +169,16 @@ border_width_bottom = 1
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id=17]
[sub_resource type="StyleBoxFlat" id=19]
bg_color = Color( 0.454902, 0.337255, 0.607843, 1 )
[sub_resource type="StyleBoxFlat" id=18]
[sub_resource type="StyleBoxFlat" id=19]
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
[sub_resource type="StyleBoxFlat" id=20]
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
[sub_resource type="StyleBoxFlat" id=21]
bg_color = Color( 1, 0.701961, 0.796078, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
[sub_resource type="StyleBoxFlat" id=22]
bg_color = Color( 0.588235, 0.984314, 0.780392, 1 )
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
@ -196,6 +186,22 @@ border_width_bottom = 2
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
[sub_resource type="StyleBoxFlat" id=23]
bg_color = Color( 1, 0.701961, 0.796078, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
[sub_resource type="StyleBoxFlat" id=24]
bg_color = Color( 0.588235, 0.984314, 0.780392, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
[sub_resource type="StyleBoxFlat" id=25]
content_margin_right = 16.0
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
border_width_left = 4
@ -225,10 +231,10 @@ CheckBox/colors/font_color_pressed = Color( 0, 0, 0, 1 )
CheckBox/constants/check_vadjust = 0
CheckBox/constants/hseparation = 4
CheckBox/fonts/font = null
CheckBox/icons/checked = null
CheckBox/icons/checked = ExtResource( 4 )
CheckBox/icons/radio_checked = null
CheckBox/icons/radio_unchecked = null
CheckBox/icons/unchecked = null
CheckBox/icons/unchecked = ExtResource( 3 )
CheckBox/styles/disabled = null
CheckBox/styles/focus = null
CheckBox/styles/hover = null
@ -425,7 +431,7 @@ OptionButton/styles/normal = null
OptionButton/styles/pressed = null
Panel/styles/panel = SubResource( 11 )
PanelContainer/styles/panel = SubResource( 12 )
PopupDialog/styles/panel = null
PopupDialog/styles/panel = SubResource( 13 )
PopupMenu/colors/font_color = Color( 0, 0, 0, 1 )
PopupMenu/colors/font_color_accel = Color( 0, 0, 0, 1 )
PopupMenu/colors/font_color_disabled = Color( 0, 0, 0, 1 )
@ -445,7 +451,7 @@ PopupMenu/styles/labeled_separator_right = null
PopupMenu/styles/panel = null
PopupMenu/styles/panel_disabled = null
PopupMenu/styles/separator = null
PopupPanel/styles/panel = null
PopupPanel/styles/panel = SubResource( 14 )
ProgressBar/colors/font_color = Color( 0, 0, 0, 1 )
ProgressBar/colors/font_color_shadow = Color( 0, 0, 0, 1 )
ProgressBar/fonts/font = null
@ -468,7 +474,7 @@ RichTextLabel/fonts/mono_font = null
RichTextLabel/fonts/normal_font = null
RichTextLabel/styles/focus = null
RichTextLabel/styles/normal = null
ScrollContainer/styles/bg = SubResource( 13 )
ScrollContainer/styles/bg = SubResource( 15 )
SpinBox/icons/updown = null
TabContainer/colors/font_color_bg = Color( 0, 0, 0, 1 )
TabContainer/colors/font_color_disabled = Color( 0, 0, 0, 1 )
@ -485,10 +491,10 @@ TabContainer/icons/increment = null
TabContainer/icons/increment_highlight = null
TabContainer/icons/menu = null
TabContainer/icons/menu_highlight = null
TabContainer/styles/panel = SubResource( 14 )
TabContainer/styles/tab_bg = SubResource( 15 )
TabContainer/styles/panel = SubResource( 16 )
TabContainer/styles/tab_bg = SubResource( 17 )
TabContainer/styles/tab_disabled = null
TabContainer/styles/tab_fg = SubResource( 16 )
TabContainer/styles/tab_fg = SubResource( 18 )
Tabs/colors/font_color_bg = Color( 0.454902, 0.337255, 0.607843, 1 )
Tabs/colors/font_color_disabled = Color( 0.454902, 0.337255, 0.607843, 1 )
Tabs/colors/font_color_fg = Color( 0.454902, 0.337255, 0.607843, 1 )
@ -502,10 +508,10 @@ Tabs/icons/decrement = null
Tabs/icons/decrement_highlight = null
Tabs/icons/increment = null
Tabs/icons/increment_highlight = null
Tabs/styles/button = SubResource( 17 )
Tabs/styles/button = SubResource( 19 )
Tabs/styles/button_pressed = null
Tabs/styles/panel = SubResource( 18 )
Tabs/styles/tab_bg = SubResource( 19 )
Tabs/styles/panel = SubResource( 20 )
Tabs/styles/tab_bg = SubResource( 21 )
Tabs/styles/tab_disabled = null
Tabs/styles/tab_fg = null
TextEdit/colors/background_color = Color( 0, 0, 0, 1 )
@ -605,10 +611,10 @@ VScrollBar/icons/decrement = null
VScrollBar/icons/decrement_highlight = null
VScrollBar/icons/increment = null
VScrollBar/icons/increment_highlight = null
VScrollBar/styles/grabber = SubResource( 20 )
VScrollBar/styles/grabber_highlight = SubResource( 21 )
VScrollBar/styles/grabber_pressed = SubResource( 22 )
VScrollBar/styles/scroll = SubResource( 23 )
VScrollBar/styles/grabber = SubResource( 22 )
VScrollBar/styles/grabber_highlight = SubResource( 23 )
VScrollBar/styles/grabber_pressed = SubResource( 24 )
VScrollBar/styles/scroll = SubResource( 25 )
VScrollBar/styles/scroll_focus = null
VSeparator/constants/separation = 4
VSeparator/styles/separator = null

View file

@ -2,6 +2,9 @@ extends CanvasLayer
func _ready():
$AnimationPlayer.play("win")
while GameStats.balls_left >= 0:
GameStats.set_score_to(GameStats.score + 15 * GameStats.multiplier)
GameStats.add_balls(-1)
func _on_AnimationPlayer_animation_finished(_anim_name):

4
Menu/XPLabel.gd Normal file
View file

@ -0,0 +1,4 @@
extends Label
func _ready():
text = "xp: " + String(GameStats.unlock_points)