diff --git a/globals.gd b/globals.gd new file mode 100644 index 0000000..25ec1ff --- /dev/null +++ b/globals.gd @@ -0,0 +1,9 @@ +extends Node + +const TTS = preload("res://godot_tts.gdns") +var tts + +# Called when the node enters the scene tree for the first time. +func _ready(): + tts = TTS.new() + tts.speak("Hello, world.", true) diff --git a/player.tscn b/player.tscn new file mode 100644 index 0000000..b0b0c9c --- /dev/null +++ b/player.tscn @@ -0,0 +1,3 @@ +[gd_scene format=2] + +[node name="player" type="Area2D"] diff --git a/project.godot b/project.godot index 2012522..286788d 100644 --- a/project.godot +++ b/project.godot @@ -13,6 +13,14 @@ _global_script_class_icons={ } +[application] + +run/main_scene="res://player.tscn" + +[autoload] + +Globals="*res://globals.gd" + [editor_plugins] enabled=[ "accessibility" ] @@ -93,3 +101,8 @@ ui_end={ "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777230,"unicode":0,"echo":false,"script":null) ] } +default_environment=false + +[input map] + +custom_font=false