Skip to content

Commit

Permalink
Update ReadMe to Have Correct Export Setup
Browse files Browse the repository at this point in the history
  • Loading branch information
XavianOgletree committed Sep 24, 2020
1 parent cc4e39e commit 0b9996c
Show file tree
Hide file tree
Showing 9 changed files with 78 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Editor.gd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ signal save_dailog_closed(result)

# Add you API's here
var api_list = {
Google = load("res://scripts/apis/GoogleTextToSpeechApi.gd").new()
Google = preload("res://scripts/apis/GoogleTextToSpeechApi.gd").new()
}

# Important UI Elements
Expand Down
4 changes: 2 additions & 2 deletions Editor.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ margin_right = 1024.0
margin_bottom = 600.0
access = 2
filters = PoolStringArray( "*.mp3 ; MP3 Files" )
current_dir = "/Users/Xogletree/Documents/Code/Godot/CloudTTS"
current_path = "/Users/Xogletree/Documents/Code/Godot/CloudTTS/"
current_dir = "/Users"
current_path = "/Users/"
__meta__ = {
"_edit_use_anchors_": false
}
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ In order to develop and build this project from source, you'll need to complete
1. Download Godot Engine 3.2 from [here](https://downloads.tuxfamily.org/godotengine/3.2.3/).
2. Import the project into Godot using the project viewer.
3. Finally, [install the build templates from the editor.](https://docs.godotengine.org/en/stable/getting_started/workflow/export/exporting_projects.html)
4. Configure you export resources as shown here:
![Screen shot of the export resources](imgs/export-resources.png)

With these steps completed, you should now be ready to develop and export the application. If you unfamiliar with Godot and GDScript, please refer to the [documentation](https://docs.godotengine.org/en/stable/about/introduction.html).

Expand Down
Binary file modified icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/export-resources.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions imgs/export-resources.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/export-resources.png-64226c4cd042e6f67f17d13149bcb055.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://imgs/export-resources.png"
dest_files=[ "res://.import/export-resources.png-64226c4cd042e6f67f17d13149bcb055.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
34 changes: 34 additions & 0 deletions imgs/screenshot.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/screenshot.png-836091f94baad9c66f52d1d068ff5e95.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://imgs/screenshot.png"
dest_files=[ "res://.import/screenshot.png-836091f94baad9c66f52d1d068ff5e95.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
4 changes: 4 additions & 0 deletions project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ Warnings="*res://autoloads/Warnings.gd"

window/dpi/allow_hidpi=true

[editor]

convert_text_resources_to_binary_on_export=true

[rendering]

quality/driver/driver_name="GLES2"
Expand Down
2 changes: 1 addition & 1 deletion scripts/apis/GoogleTextToSpeechApi.gd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
extends "res://scripts/apis/TextToSpeechAPI.gd"
extends "res://scripts/apis/TextToSpeechApi.gd"

func get_voices(
http: HTTPRequest,
Expand Down

0 comments on commit 0b9996c

Please sign in to comment.