Exporting HTML5 in GLES2 mode
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -82,7 +82,13 @@ node('docker && ubuntu-16.04') {
|
|||||||
mkdir proto1-html
|
mkdir proto1-html
|
||||||
cd proto1
|
cd proto1
|
||||||
ls -l
|
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
|
${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 ..
|
||||||
cd proto1-html
|
cd proto1-html
|
||||||
zip -r ${base}/proto1-html5.zip *
|
zip -r ${base}/proto1-html5.zip *
|
||||||
|
|||||||
@@ -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)
|
"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"
|
||||||
|
|||||||
Reference in New Issue
Block a user