Compare commits
3 commits
093b2952ed
...
b737c53bf7
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b737c53bf7 | ||
![]() |
70f053a78b | ||
![]() |
a60ba90f6b |
6 changed files with 36 additions and 21 deletions
BIN
audio/music/gooey.wav
Normal file
BIN
audio/music/gooey.wav
Normal file
Binary file not shown.
23
audio/music/gooey.wav.import
Normal file
23
audio/music/gooey.wav.import
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wav"
|
||||||
|
type="AudioStreamSample"
|
||||||
|
path="res://.import/gooey.wav-5cf6af0cab7c89f8e8c14c537f6551c3.sample"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/music/gooey.wav"
|
||||||
|
dest_files=[ "res://.import/gooey.wav-5cf6af0cab7c89f8e8c14c537f6551c3.sample" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
force/8_bit=false
|
||||||
|
force/mono=false
|
||||||
|
force/max_rate=false
|
||||||
|
force/max_rate_hz=44100
|
||||||
|
edit/trim=false
|
||||||
|
edit/normalize=false
|
||||||
|
edit/loop_mode=0
|
||||||
|
edit/loop_begin=0
|
||||||
|
edit/loop_end=-1
|
||||||
|
compress/mode=0
|
File diff suppressed because one or more lines are too long
|
@ -28,7 +28,7 @@ func _ready():
|
||||||
$Night.visible = true
|
$Night.visible = true
|
||||||
else:
|
else:
|
||||||
$Day.visible = true
|
$Day.visible = true
|
||||||
Audio.play_music(load("res://audio/music/vitreous_squares.ogg"))
|
Audio.play_music(load("res://audio/music/gooey.wav"))
|
||||||
|
|
||||||
|
|
||||||
func _on_AudioStreamPlayer_finished():
|
func _on_AudioStreamPlayer_finished():
|
||||||
|
|
|
@ -16,9 +16,6 @@ func _ready():
|
||||||
$Body/Restart.disabled = true
|
$Body/Restart.disabled = true
|
||||||
$Body/Restart.focus_mode = Control.FOCUS_NONE
|
$Body/Restart.focus_mode = Control.FOCUS_NONE
|
||||||
$"%GreyedRestart".visible = true
|
$"%GreyedRestart".visible = true
|
||||||
$Body.text = "RESUME\nRESTART\nOPTIONS\nQUIT GAME"
|
|
||||||
else:
|
|
||||||
$Body.text = "RESUME\nRESTART\nOPTIONS\nEXIT LEVEL"
|
|
||||||
#Random lore
|
#Random lore
|
||||||
if lore_entries != null and not lore_entries.empty():
|
if lore_entries != null and not lore_entries.empty():
|
||||||
current_lore = randi() % lore_entries.size()
|
current_lore = randi() % lore_entries.size()
|
||||||
|
|
|
@ -18,7 +18,7 @@ script = ExtResource( 4 )
|
||||||
margin_left = 64.0
|
margin_left = 64.0
|
||||||
margin_top = 25.0
|
margin_top = 25.0
|
||||||
margin_right = 192.0
|
margin_right = 192.0
|
||||||
margin_bottom = 82.0
|
margin_bottom = 57.0
|
||||||
texture = ExtResource( 8 )
|
texture = ExtResource( 8 )
|
||||||
patch_margin_left = 3
|
patch_margin_left = 3
|
||||||
patch_margin_top = 3
|
patch_margin_top = 3
|
||||||
|
@ -30,7 +30,7 @@ pause_mode = 2
|
||||||
margin_left = 67.0
|
margin_left = 67.0
|
||||||
margin_top = 28.0
|
margin_top = 28.0
|
||||||
margin_right = 189.0
|
margin_right = 189.0
|
||||||
margin_bottom = 79.0
|
margin_bottom = 54.0
|
||||||
color = Color( 0.239216, 0.239216, 0.443137, 1 )
|
color = Color( 0.239216, 0.239216, 0.443137, 1 )
|
||||||
|
|
||||||
[node name="Paused" type="Label" parent="."]
|
[node name="Paused" type="Label" parent="."]
|
||||||
|
@ -49,12 +49,10 @@ pause_mode = 2
|
||||||
margin_left = 64.0
|
margin_left = 64.0
|
||||||
margin_top = 29.0
|
margin_top = 29.0
|
||||||
margin_right = 192.0
|
margin_right = 192.0
|
||||||
margin_bottom = 78.0
|
margin_bottom = 55.0
|
||||||
theme = ExtResource( 2 )
|
theme = ExtResource( 2 )
|
||||||
text = "RESUME
|
text = "RESUME
|
||||||
RESTART
|
OPTIONS"
|
||||||
OPTIONS
|
|
||||||
EXit level"
|
|
||||||
align = 1
|
align = 1
|
||||||
|
|
||||||
[node name="Resume" type="TextureButton" parent="Body"]
|
[node name="Resume" type="TextureButton" parent="Body"]
|
||||||
|
@ -64,9 +62,8 @@ margin_left = 36.0
|
||||||
margin_top = 1.0
|
margin_top = 1.0
|
||||||
margin_right = 44.0
|
margin_right = 44.0
|
||||||
margin_bottom = 9.0
|
margin_bottom = 9.0
|
||||||
focus_neighbour_left = NodePath(".")
|
focus_neighbour_top = NodePath("../Settings")
|
||||||
focus_neighbour_right = NodePath(".")
|
focus_neighbour_bottom = NodePath("../Settings")
|
||||||
focus_neighbour_bottom = NodePath("../Restart")
|
|
||||||
texture_focused = ExtResource( 3 )
|
texture_focused = ExtResource( 3 )
|
||||||
|
|
||||||
[node name="Restart" type="TextureButton" parent="Body"]
|
[node name="Restart" type="TextureButton" parent="Body"]
|
||||||
|
@ -96,13 +93,11 @@ text = "Restart"
|
||||||
pause_mode = 2
|
pause_mode = 2
|
||||||
material = ExtResource( 1 )
|
material = ExtResource( 1 )
|
||||||
margin_left = 32.0
|
margin_left = 32.0
|
||||||
margin_top = 27.0
|
margin_top = 14.0
|
||||||
margin_right = 40.0
|
margin_right = 40.0
|
||||||
margin_bottom = 35.0
|
margin_bottom = 22.0
|
||||||
focus_neighbour_left = NodePath(".")
|
focus_neighbour_top = NodePath("../Resume")
|
||||||
focus_neighbour_top = NodePath("../Restart")
|
focus_neighbour_bottom = NodePath("../Resume")
|
||||||
focus_neighbour_right = NodePath(".")
|
|
||||||
focus_neighbour_bottom = NodePath("../ExitLevel")
|
|
||||||
texture_focused = ExtResource( 3 )
|
texture_focused = ExtResource( 3 )
|
||||||
|
|
||||||
[node name="ExitLevel" type="TextureButton" parent="Body"]
|
[node name="ExitLevel" type="TextureButton" parent="Body"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue