Official Stores (1)

Steam
GLBasic: HTML5 Compiler
Windows
8w ago
DRM:
Steam
Steam
$9.99
copy

About GLBasic: HTML5 Compiler

GLBasic: HTML5 Compiler - about the game

This compiler, using Emscripten, results in an html webpage, that runs your GLBasic application/game in any modern webbrowser. You can also use it to export GLBasic function to JavaScript for other projects. Emscripten will compile a wasm (Web assembly) for you, that runs really fast.
There are two options included:
  • HTML5-WebGL - This uses the webgl backend and allows fast graphics, using hardware accelleration
  • HTML5 - This uses a builtin graphics engine, that renders the output per pixel. It's not as fast as webgl, but more compatible for older computers or computers with higher security limitations.

There are some limitations, though:
  • You must run the main loop using SETLOOPSUB, instead of a classic WHILE TRUE; ...; WEND loop.
  • File write access is quite limited
  • The data must be loaded using a real webserver, or a local webserver (included for testing). Modern browsers will refuse to load graphics, if you just open the html file from the local drive.