winzik/engine/tests/Device
Repository files (latest commit first)
Filename Latest commit message Latest commit date
David Nurdin a74fe529a5 Web APIs: WebGL, page lifecycle, phone features, async HTTP, PWA, gamepads
- JsBridge both ways, synchronous with the frames (emscripten pre/postMainLoop);
  hide/close delivered at once between frames (jumphp_events)
- JumPHP\Gl\WebGl: 3D layer composed with the SDL picture (key colour / alpha),
  post-processing shaders, Mat4 (also software 3D on desktop)
- JumPHP\Device\Lifecycle (hide/show/blur/focus/online/offline/resize/close,
  pause_scene, mute when hidden) and Device (vibrate, wake lock, orientation,
  fullscreen, clipboard, tilt/motion, battery)
- JumPHP\Http: async requests (fetch / curl_multi / non-blocking sockets)
- JumPHP\Device\Pwa + sw.js: installable, offline, updates (game.yaml pwa)
- Gamepad: standard button names everywhere (pad0:a, pad0:start...), axes,
  hot-plug, rumble; Gamepad API in the browser
- games/hello-webgl example, docs/api-web.md, AGENTS.md

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 09:58:52 +01:00
..
LifecycleTest.php Web APIs: WebGL, page lifecycle, phone features, async HTTP, PWA, gamepads 2026-10-28 09:58:52 +01:00