mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-14 14:30:24 +01:00
10b9764fb3
Changes Emscripten SDK version to match that used to compile the default export templates used by Godot 3.5 (in this case 3.1.14 as can be seen here: https://github.com/godotengine/build-containers/blob/3.5/Dockerfile.javascript). This means we no longer need to compile custom export templates when exporting HTML5 for Godot 3.5. Exports from other Godot versions may requiring compiling the GDNative library with a different version of the Emscripten SDK. - Changes renderer from GLES3 -> GLES2 and reduces MSAA level to better support HTML5 export. - Updates GitHub Action to export HTML5 and upload as a build artifact. - Adds Cypress test to smoke test HTML5 export.
21 lines
374 B
Text
21 lines
374 B
Text
[gd_scene load_steps=2 format=2]
|
|
|
|
[sub_resource type="GDScript" id=1]
|
|
script/source = "tool
|
|
extends Timer
|
|
|
|
func _enter_tree():
|
|
start()
|
|
|
|
func _on_timeout():
|
|
get_tree().quit(0)
|
|
"
|
|
|
|
[node name="Timer" type="Timer"]
|
|
process_mode = 0
|
|
wait_time = 10.0
|
|
one_shot = true
|
|
autostart = true
|
|
script = SubResource( 1 )
|
|
|
|
[connection signal="timeout" from="." to="." method="_on_timeout"]
|