godot-accessibility/globals.gd
Nolan Darilek 877effcf54 Start creating a basic game in which to build this plugin.
Current features include:
 * A global script that initializes the TTS extension and speaks "Hello, world."
 * A player Area2D node.

Once this plugin gains more features, the basic game will be removed, and it will be built in the context of actual production games.
2019-09-02 11:54:39 -05:00

10 lines
204 B
GDScript

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)