diff options
Diffstat (limited to 'App.gd')
| -rw-r--r-- | App.gd | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -0,0 +1,27 @@ +extends Control + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" + +var audio; + +# Called when the node enters the scene tree for the first time. +func _ready(): + print("Erable is ready") + pass # Replace with function body. + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass + +func _on_PlayButton_pressed(): + pass # Replace with function body. + +func _on_BrowseButton_pressed(): + $FileDialog.popup() + +func _on_FileDialog_file_selected(path): + print(path) + audio = path + |
