Skip to content

Restore non-WebAssembly (asm.js) support in HTML5 export

Rafał Mikrut requested to merge github/fork/scorpion81/asmjs_revert into master

Created by: scorpion81

This reverts commit 9107357c8dfda98c5adb33d3c5f4a7be1996fa07, reversing changes made to 0aa4765904b0aea28ccf485b2428b027a5960df4.

Basically what the title of the commit says, plus modifications to make it work against latest master again.

When building the javascript export template you can say:

wasm=yes for WebAssembly or wasm=no for asm.js support.

Tested with a 2D Example scene, both variants exported, working in Firefox. Chromium has some OpenGL related issues though, but those happen in master too and should be unrelated to the exporter itself.

Furthermore, you can export to HTML5 now if you ONLY have specified atleast a debug or a release template (means this is enough already, in case you dont have "regular" templates installed.

Merge request reports