|
|
|
|
Reply From: |
eska |
Sorry, haven’t updated the docs for that yet, since I’m currently working on closing several web export issues
A godot.javascript.opt.asm.js
file (godot.javascript.opt.debug.asm.js
for target=release_debug
) is created during compilation along with the .html.mem
and .js
files and must also be included in the zip file as godot.asm.js
.
According with:
Compiling for the Web — Godot Engine (stable) documentation in English
for these steps:
3 / 4 godot.html and godotfs.js
— Both of these files are located within the Godot Engine repository, under tools/html_fs/.
cp tools/html_fs/godot.html .
cp tools/html_fs/godotfs.js .
Directory tools/html_fs/ doesn’t exist but tools/dist/html_fs/ exists and only godotfs.js file is present.
I took the godot.html file from the archive Godot_v2.1.1-stable_export_templates.tpz (not sure is a good solution)
anemol | 2017-01-03 17:16
Right, I forgot, the godotfs.js
file was moved to tools/dist/html_fs/
The .html
file is now also generated during compilation as godot.javascript.opt.html
(godot.javascript.opt.debug.html
for target=release_debug
) and has to be renamed to godot.html
Hi, I have an issue may be related to this one.
I compiled on ubuntu 16.04 by using the 2.1.1-stable godot source (downloaded from
https://github.com/godotengine/godot/archive/2.1.1-stable.tar.gz ) and executed both
scons platform=javascript tools=no target=release
scons platform=javascript tools=no target=release_debug
and only these files are created into bin directory:
godot.javascript.opt.debug.html
godot.javascript.opt.debug.html.mem
godot.javascript.opt.debug.js
godot.javascript.opt.html
godot.javascript.opt.html.mem
godot.javascript.opt.js
so no *.asm.* files are produced (while godotfs.js is correctly located in tools/dist/html_fs). I followed all the instructions in the docs latest and 2.1 and in this thread.
Am I missing something?
consultit | 2017-01-15 19:55