Intial commit

This commit is contained in:
2020-05-15 20:02:56 -04:00
commit ad966789c5
284 changed files with 6546 additions and 0 deletions

View File

@ -0,0 +1,17 @@
extends Node
var audio_player : AudioStreamPlayer
var gui_manager
#$"/root/MusicManager".play_music("Dystopian/The Protagonist")
func _ready():
gui_manager = $GUI
audio_player = AudioStreamPlayer.new()
add_child(audio_player)
$CanvasLayer/ColorRect.show()
play_sound(preload("res://Assets/Sfx/intro/processed.wav"))
func play_sound(audio_stream):
audio_player.stream = audio_stream
audio_player.play()