Exporting HTML5 in GLES2 mode

This commit is contained in:
Segey Lapin
2019-07-19 18:19:43 +03:00
parent 6b18adfd0f
commit 72c909b7a6
2 changed files with 10 additions and 0 deletions

6
Jenkinsfile vendored
View File

@@ -82,7 +82,13 @@ node('docker && ubuntu-16.04') {
mkdir proto1-html
cd proto1
ls -l
cp project.godot project.godot.backup
sed -e 's/GLES3/GLES2/g' -f -i project.godot
cat project.godot
${base}/godot-templates/godot_server.x11.tools.64 --export "HTML5" ${base}/proto1-html/index.html
cp project.godot.backup project.godot
rm -f project.godot.backup
cd ..
cd proto1-html
zip -r ${base}/proto1-html5.zip *

View File

@@ -53,3 +53,7 @@ action1={
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":69,"unicode":0,"echo":false,"script":null)
]
}
[rendering]
quality/driver/driver_name="GLES3"