Dominik Madarász
5451fa6e9d
video: support VIDEO_LOOP html5: drop JS worker |
||
---|---|---|
.. | ||
MAKE.bat | ||
README.md | ||
demo_collide.c | ||
demo_ui.c | ||
demo_video.c | ||
host.py | ||
template.html |
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