v4k-git-backup/demos/html5
r-lyeh 54aa82aecf chg: bring back project generators `MAKE proj` (premake5)
chg: bring back most demos/ `MAKE demos`
fix: ui: fixed crash when no cooked fonts were available (ui_notify)
fix: html5: added pthreads support (@zpl-zak)
fix: html5: allowed coi requests in localhost served contents (@zpl-zak)
chg: html5: instantiate web server only if content is not being served
chg: bring back demos/html5/
chg: bring back tools/editor/
chg: bring back some audio tunes
chg: update docs
2023-08-10 23:04:56 +02:00
..
MAKE.bat chg: bring back project generators `MAKE proj` (premake5) 2023-08-10 23:04:56 +02:00
README.md chg: bring back project generators `MAKE proj` (premake5) 2023-08-10 23:04:56 +02:00
demo_collide.c chg: bring back project generators `MAKE proj` (premake5) 2023-08-10 23:04:56 +02:00
demo_ui.c chg: bring back project generators `MAKE proj` (premake5) 2023-08-10 23:04:56 +02:00
index.worker.coi.min.js chg: bring back project generators `MAKE proj` (premake5) 2023-08-10 23:04:56 +02:00
template.html chg: bring back project generators `MAKE proj` (premake5) 2023-08-10 23:04:56 +02:00

README.md

Known HTML5 issues:

  • Game loop is event based (fixed: see window_loop())
  • No automated emsdk installation (fixed: see demos/html5/MAKE.bat)
  • Art must be cooked beforehand (fixed: see demos/html5/MAKE.bat)
  • No VFS loading (fixed)
  • No UI rendering (fixed)
  • No cooker (fixed: win,osx,linux)
  • No input (fixed)
  • No gamepads (fixed)
  • No multi-touch (fixed)
  • No threads (fixed)
  • No audio
  • No file writing (untested)
  • No glTexture1D()
  • No network
  • No fbos
  • No callstacks
  • No pbos
  • Shaders require (automated?) GL->GLES translation (No postfxs, models, skyboxes, pbrs, ...) (@todo: embed Spir-v/glslcross tools?)
  • Shaders: vec2 iResolution = vec2(iWidth, iHeight); // ERROR: '=' : global variable initializers must be constant expressions
  • Shaders: uniform float var = 1.0f; // ERROR: 'uniform' : cannot initialize this type of qualifier