mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-11-12 16:45:56 +00:00
Nolan Darilek
877effcf54
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.
10 lines
204 B
GDScript
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)
|