generated from SGDA/GodotExampleProject
Compare commits
15 Commits
00ef11d3fb
...
v0.1.40
Author | SHA1 | Date | |
---|---|---|---|
9f176cd1a9 | |||
f6dae54fd0 | |||
d1996d44ed | |||
9c2bbd631f | |||
bd72931024 | |||
a853a5b11b | |||
0e4fe61d03 | |||
8c8996ee5c | |||
790b4d12a5 | |||
08bd2ca3b4 | |||
16c7adfceb | |||
4344a43e02 | |||
dbf2092411 | |||
6440cb26a9 | |||
ca5fb354c0 |
@ -7,13 +7,14 @@ extends Control
|
|||||||
@export var credits_packed_scene : PackedScene
|
@export var credits_packed_scene : PackedScene
|
||||||
|
|
||||||
@onready var background_music_player: AudioStreamPlayer = $BackgroundMusicPlayer
|
@onready var background_music_player: AudioStreamPlayer = $BackgroundMusicPlayer
|
||||||
|
@onready var audio_stream_player: AudioStreamPlayer = $AudioStreamPlayer
|
||||||
|
|
||||||
var options_scene
|
var options_scene
|
||||||
var credits_scene
|
var credits_scene
|
||||||
var sub_menu
|
var sub_menu
|
||||||
|
|
||||||
func load_game_scene() -> void:
|
func load_game_scene() -> void:
|
||||||
background_music_player.stop()
|
audio_stream_player.stop()
|
||||||
SceneLoader.load_scene(game_scene_path)
|
SceneLoader.load_scene(game_scene_path)
|
||||||
|
|
||||||
func new_game() -> void:
|
func new_game() -> void:
|
||||||
@ -76,6 +77,7 @@ func _ready() -> void:
|
|||||||
_add_or_hide_options()
|
_add_or_hide_options()
|
||||||
_add_or_hide_credits()
|
_add_or_hide_credits()
|
||||||
_hide_new_game_if_unset()
|
_hide_new_game_if_unset()
|
||||||
|
audio_stream_player.play()
|
||||||
|
|
||||||
func _on_new_game_button_pressed() -> void:
|
func _on_new_game_button_pressed() -> void:
|
||||||
new_game()
|
new_game()
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -13,7 +13,7 @@ dest_files=["res://.godot/imported/VO_LVL2_A_01.ogg-5e256a802dfbbccf6953e19606ab
|
|||||||
[params]
|
[params]
|
||||||
|
|
||||||
loop=false
|
loop=false
|
||||||
loop_offset=0
|
loop_offset=0.0
|
||||||
bpm=0
|
bpm=0.0
|
||||||
beat_count=0
|
beat_count=0
|
||||||
bar_beats=4
|
bar_beats=4
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user