jumPhp/tauri/include
Repository files (latest commit first)
Filename Latest commit message Latest commit date
David Nurdin 40fe26d4f8 Hybrid games in one window: the SDL game drawn inside its Tauri window (app.embed)
- game.yaml ui: hybrid + app: {embed: true}: SDL draws into memory (no SDL window, video driver dummy), each picture
  (a BMP) goes to the runtime through jt_frame(); JumPHP's page engine/web/tauri/game.html (served as
  /__jumphp/game.html) draws the newest one on a canvas, sharp and letterboxed, and sends keyboard, mouse and focus
  back into the engine's InputManager (JumPHP\Tauri\EmbeddedGame); F11 makes the Tauri window fullscreen
- runtime: jt_frame(), the jumphpframe:// scheme (204 while no newer picture), engine pages under /__jumphp/
- Engine emits 'rendered' after each frame and 'fullscreen-request' without an SDL window; Sdl::isEmbedded();
  NativeRuntime::picture()
- stage-game.sh: apps and hybrid games carry engine/web/tauri (games' packages unchanged)
- tried for real with Pong on Xvfb: the menu in the Tauri window, Enter from the page started a game

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JkYTqpYNZKwTnRZHQRD5HP
2026-11-01 08:38:55 +01:00
..
jumphp_tauri.h Hybrid games in one window: the SDL game drawn inside its Tauri window (app.embed) 2026-11-01 08:38:55 +01:00