This commit is contained in:
Spencer Killen 2023-08-20 17:12:21 -06:00
parent 0c18478e1d
commit 915d20005b
Signed by: sjkillen
GPG Key ID: F307025B65C860BA
9 changed files with 103 additions and 1 deletions

View File

@ -495,6 +495,8 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.31447, 2.55588, -2.13044)
[node name="Node3D" parent="." instance=ExtResource("29_etvc6")] [node name="Node3D" parent="." instance=ExtResource("29_etvc6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.41845, 9.26863, -2.62281) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.41845, 9.26863, -2.62281)
[node name="Node3D2" type="Node3D" parent="."]
[connection signal="finished" from="Music" to="Music" method="_on_finished"] [connection signal="finished" from="Music" to="Music" method="_on_finished"]
[connection signal="timeout" from="Music/Transition" to="Music" method="_on_transition_timer_timeout"] [connection signal="timeout" from="Music/Transition" to="Music" method="_on_transition_timer_timeout"]
[connection signal="timeout" from="Music/Tween" to="Music" method="_on_tween_timer_timeout"] [connection signal="timeout" from="Music/Tween" to="Music" method="_on_tween_timer_timeout"]

BIN
godot/Textures/kill.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cali86gqly7e3"
path="res://.godot/imported/kill.png-e4f5f842049185427e5a508f24a44118.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Textures/kill.png"
dest_files=["res://.godot/imported/kill.png-e4f5f842049185427e5a508f24a44118.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
godot/Textures/redo.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b5l5hur0x6nx0"
path="res://.godot/imported/redo.png-2705bf6a1fcf83551fb9c16401980fe8.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Textures/redo.png"
dest_files=["res://.godot/imported/redo.png-2705bf6a1fcf83551fb9c16401980fe8.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@ -27,3 +27,13 @@ func pause():
func quit(): func quit():
get_tree().quit() get_tree().quit()
func _on_kill_pressed():
pass # Replace with function body.
func _on_restart_pressed():
toggle()
get_tree().reload_current_scene()

View File

@ -1,8 +1,10 @@
[gd_scene load_steps=4 format=3 uid="uid://cbca7q18ae42h"] [gd_scene load_steps=6 format=3 uid="uid://cbca7q18ae42h"]
[ext_resource type="Script" path="res://UI/PauseMenu.gd" id="1_3puj1"] [ext_resource type="Script" path="res://UI/PauseMenu.gd" id="1_3puj1"]
[ext_resource type="Texture2D" uid="uid://dxxd258q3uomg" path="res://UI/Play.png" id="1_c4do0"] [ext_resource type="Texture2D" uid="uid://dxxd258q3uomg" path="res://UI/Play.png" id="1_c4do0"]
[ext_resource type="Texture2D" uid="uid://hgb2ifbdpp3" path="res://UI/Exit.png" id="3_djmuk"] [ext_resource type="Texture2D" uid="uid://hgb2ifbdpp3" path="res://UI/Exit.png" id="3_djmuk"]
[ext_resource type="Texture2D" uid="uid://b5l5hur0x6nx0" path="res://Textures/redo.png" id="3_wl7bl"]
[ext_resource type="Texture2D" uid="uid://cali86gqly7e3" path="res://Textures/kill.png" id="4_cr4ot"]
[node name="PauseMenu" type="Control"] [node name="PauseMenu" type="Control"]
process_mode = 3 process_mode = 3
@ -59,6 +61,11 @@ icon_alignment = 1
[node name="Restart" type="Button" parent="CenterContainer/HBoxContainer"] [node name="Restart" type="Button" parent="CenterContainer/HBoxContainer"]
layout_mode = 2 layout_mode = 2
icon = ExtResource("3_wl7bl")
[node name="Kill" type="Button" parent="CenterContainer/HBoxContainer"]
layout_mode = 2
icon = ExtResource("4_cr4ot")
[node name="QuitButton" type="Button" parent="CenterContainer/HBoxContainer"] [node name="QuitButton" type="Button" parent="CenterContainer/HBoxContainer"]
process_mode = 3 process_mode = 3
@ -76,4 +83,6 @@ flat = true
icon_alignment = 1 icon_alignment = 1
[connection signal="pressed" from="CenterContainer/HBoxContainer/ResumeButton" to="." method="unpause"] [connection signal="pressed" from="CenterContainer/HBoxContainer/ResumeButton" to="." method="unpause"]
[connection signal="pressed" from="CenterContainer/HBoxContainer/Restart" to="." method="_on_restart_pressed"]
[connection signal="pressed" from="CenterContainer/HBoxContainer/Kill" to="." method="_on_kill_pressed"]
[connection signal="pressed" from="CenterContainer/HBoxContainer/QuitButton" to="." method="quit"] [connection signal="pressed" from="CenterContainer/HBoxContainer/QuitButton" to="." method="quit"]

3
godot/global.gd Normal file
View File

@ -0,0 +1,3 @@
extends Node
var cheating = false

View File

@ -15,6 +15,10 @@ run/main_scene="res://UI/TitleScreen.tscn"
config/features=PackedStringArray("4.1", "Forward Plus") config/features=PackedStringArray("4.1", "Forward Plus")
config/icon="res://icon.svg" config/icon="res://icon.svg"
[autoload]
Global="*res://global.gd"
[display] [display]
window/size/viewport_width=512 window/size/viewport_width=512