From fc1e658950be84122b0f384d883f5d7bef811aa7 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Tue, 24 Sep 2019 09:21:31 -0500 Subject: [PATCH] Update plugin and instantiate a `ScreenReader` node so in-game UIs (theoretically) speak. --- addons/godot-accessibility | 2 +- scenes/Main.tscn | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/addons/godot-accessibility b/addons/godot-accessibility index 981606a..e82fd7f 160000 --- a/addons/godot-accessibility +++ b/addons/godot-accessibility @@ -1 +1 @@ -Subproject commit 981606ab2183df7fd36f7211cf6bc7ea7b084e0c +Subproject commit e82fd7f8b8f80a346eda93caae015fd84876b935 diff --git a/scenes/Main.tscn b/scenes/Main.tscn index 0fc71d5..fab6086 100644 --- a/scenes/Main.tscn +++ b/scenes/Main.tscn @@ -1,6 +1,14 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=4 format=2] [ext_resource path="res://scenes/Main.gd" type="Script" id=1] +[ext_resource path="res://addons/godot-accessibility/ScreenReader.gd" type="Script" id=2] +[ext_resource path="res://addons/godot-accessibility/icon.png" type="Texture" id=3] [node name="Main" type="Node"] script = ExtResource( 1 ) + +[node name="ScreenReader" type="Node" parent="."] +script = ExtResource( 2 ) +__meta__ = { +"_editor_icon": ExtResource( 3 ) +}