v4k-git-backup/demos/html5
Dominik Madarász a8c4b1816f html5: replace viewport_color3 call 2023-09-25 06:46:31 +02:00
..
MAKE.bat art: new system fonts 2023-09-17 11:50:34 +02:00
README.md fix: html5: added pthreads support (@zpl-zak) 2023-08-10 20:44:14 +02:00
demo_collide.c html5: replace viewport_color3 call 2023-09-25 06:46:31 +02:00
demo_ui.c fix: html5: added pthreads support (@zpl-zak) 2023-08-10 20:44:14 +02:00
demo_video.c html5: add worker js back 2023-09-16 14:51:30 +02:00
host.py bt: introduced a new behavior tree module 2023-09-16 14:35:20 +02:00
template.html art: new system fonts 2023-09-17 11:50:34 +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