added voice acting credit and scoring

This commit is contained in:
zoe 2021-09-29 15:07:06 +02:00
parent 5503c2d05a
commit ad8de1dbb7
41 changed files with 323 additions and 57 deletions

View file

@ -198,3 +198,4 @@ scene = "res://Stages/EmptyStage.tscn"
[node name="Transition" parent="." instance=ExtResource( 3 )]
[node name="Cannon" parent="." instance=ExtResource( 4 )]
visible = false

View file

@ -1,9 +1,10 @@
extends CenterContainer
func _process(delta):
func _process(_delta):
if Input.is_action_just_pressed("pause"):
_on_pause_button_pressed()
func _on_pause_button_pressed():
get_tree().paused = !get_tree().paused
visible = !visible
if !GameStats.level_won:
get_tree().paused = !get_tree().paused
visible = !visible

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=17 format=2]
[gd_scene load_steps=18 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]
@ -16,6 +16,7 @@
[ext_resource path="res://Menu/Buttons/AudioSliders/MusicVolume2.png" type="Texture" id=14]
[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]
[node name="Pause" type="CanvasLayer"]
pause_mode = 2
@ -74,6 +75,8 @@ 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
@ -92,4 +95,7 @@ bus_channel = "Music"
[connection signal="pressed" from="Pause/PanelContainer/HBoxContainer/VBoxContainer/LevelSelectIconButton" to="Pause" method="_on_pause_button_pressed"]
[connection signal="pressed" from="Pause/PanelContainer/HBoxContainer/VBoxContainer/RestartButton" 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"]
[connection signal="pressed" from="Pause/PanelContainer/HBoxContainer/VBoxContainer/Resume" to="Pause/PanelContainer/HBoxContainer/VBoxContainer/Resume/ButtonSFX" method="on_select"]

View file

@ -101,7 +101,7 @@ border_width_right = 1
border_width_bottom = 1
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
[sub_resource type="StyleBoxFlat" id=23]
[sub_resource type="StyleBoxFlat" id=12]
content_margin_left = 2.0
content_margin_right = 2.0
content_margin_top = 2.0
@ -118,39 +118,39 @@ expand_margin_right = 2.0
expand_margin_top = 2.0
expand_margin_bottom = 2.0
[sub_resource type="StyleBoxFlat" id=12]
[sub_resource type="StyleBoxFlat" id=13]
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=13]
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=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=15]
[sub_resource type="StyleBoxFlat" id=16]
content_margin_left = 4.0
content_margin_right = 4.0
content_margin_top = 4.0
@ -163,24 +163,16 @@ border_width_bottom = 1
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id=16]
[sub_resource type="StyleBoxFlat" id=17]
bg_color = Color( 0.454902, 0.337255, 0.607843, 1 )
[sub_resource type="StyleBoxFlat" id=17]
[sub_resource type="StyleBoxFlat" id=18]
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
[sub_resource type="StyleBoxFlat" id=19]
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=20]
bg_color = Color( 1, 0.701961, 0.796078, 1 )
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
@ -188,7 +180,7 @@ border_width_bottom = 2
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
[sub_resource type="StyleBoxFlat" id=21]
bg_color = Color( 0.588235, 0.984314, 0.780392, 1 )
bg_color = Color( 1, 0.701961, 0.796078, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
@ -196,6 +188,14 @@ border_width_bottom = 2
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
[sub_resource type="StyleBoxFlat" id=22]
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=23]
content_margin_right = 16.0
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
border_width_left = 4
@ -424,7 +424,7 @@ OptionButton/styles/hover = null
OptionButton/styles/normal = null
OptionButton/styles/pressed = null
Panel/styles/panel = SubResource( 11 )
PanelContainer/styles/panel = SubResource( 23 )
PanelContainer/styles/panel = SubResource( 12 )
PopupDialog/styles/panel = null
PopupMenu/colors/font_color = Color( 0, 0, 0, 1 )
PopupMenu/colors/font_color_accel = Color( 0, 0, 0, 1 )
@ -468,7 +468,7 @@ RichTextLabel/fonts/mono_font = null
RichTextLabel/fonts/normal_font = null
RichTextLabel/styles/focus = null
RichTextLabel/styles/normal = null
ScrollContainer/styles/bg = SubResource( 12 )
ScrollContainer/styles/bg = SubResource( 13 )
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 +485,10 @@ TabContainer/icons/increment = null
TabContainer/icons/increment_highlight = null
TabContainer/icons/menu = null
TabContainer/icons/menu_highlight = null
TabContainer/styles/panel = SubResource( 13 )
TabContainer/styles/tab_bg = SubResource( 14 )
TabContainer/styles/panel = SubResource( 14 )
TabContainer/styles/tab_bg = SubResource( 15 )
TabContainer/styles/tab_disabled = null
TabContainer/styles/tab_fg = SubResource( 15 )
TabContainer/styles/tab_fg = SubResource( 16 )
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 +502,10 @@ Tabs/icons/decrement = null
Tabs/icons/decrement_highlight = null
Tabs/icons/increment = null
Tabs/icons/increment_highlight = null
Tabs/styles/button = SubResource( 16 )
Tabs/styles/button = SubResource( 17 )
Tabs/styles/button_pressed = null
Tabs/styles/panel = SubResource( 17 )
Tabs/styles/tab_bg = SubResource( 18 )
Tabs/styles/panel = SubResource( 18 )
Tabs/styles/tab_bg = SubResource( 19 )
Tabs/styles/tab_disabled = null
Tabs/styles/tab_fg = null
TextEdit/colors/background_color = Color( 0, 0, 0, 1 )
@ -605,10 +605,10 @@ VScrollBar/icons/decrement = null
VScrollBar/icons/decrement_highlight = null
VScrollBar/icons/increment = null
VScrollBar/icons/increment_highlight = null
VScrollBar/styles/grabber = SubResource( 19 )
VScrollBar/styles/grabber_highlight = SubResource( 20 )
VScrollBar/styles/grabber_pressed = SubResource( 21 )
VScrollBar/styles/scroll = SubResource( 22 )
VScrollBar/styles/grabber = SubResource( 20 )
VScrollBar/styles/grabber_highlight = SubResource( 21 )
VScrollBar/styles/grabber_pressed = SubResource( 22 )
VScrollBar/styles/scroll = SubResource( 23 )
VScrollBar/styles/scroll_focus = null
VSeparator/constants/separation = 4
VSeparator/styles/separator = null