defold / extension-html5

Example showing how to create a native extension for HTML5
MIT License
13 stars 4 forks source link

HTML5 Native Extension

Features

This is a short example of what features the native extension brings for the HTML5 platform

Emscripten

Emscripten is a Clang based compiler that allows for compiling existing C/C++ code into JavaScript and WebAssembly.

Example app

The example app demonstrates these features, and also shows an example of how to pass information to the running game.