Added Grant Blevins

This commit is contained in:
2020-05-16 09:20:41 -04:00
parent 02197de5ab
commit 86637e395f
23 changed files with 569 additions and 40 deletions

View File

@ -0,0 +1,11 @@
extends Area2D
export var music : AudioStream
func _ready():
connect("body_entered", self, "_on_body_entered")
func _on_body_entered(body):
if body.has_method("user_input"):
if $"/root/MusicManager".stream != music:
$"/root/MusicManager".play_stream(music)