# The game. Every key is optional (defaults: JumPHP\Kernel\GameConfig::DEFAULTS). project: id: cryo-sandbox-demo # lower case, unique: folder of the games portal, network room filter title: "Cryo Sandbox Demo" version: 0.1.0 description: "Cryo\\Sandbox in the browser: PHP sandboxes in Web Workers, asynchronous futures, the frame never waits" descriptions: {} # per language, {fr: "...", en: "..."}: the playground (jumphp.net) shows the visitor's width: 480 # virtual resolution (pixels of the game, scaled to the window) height: 270 scale: 2 # desktop window = 960 x 540 background: [16, 16, 32] start_scene: App\Scene\SandboxScene lang: en net_url: ws://localhost:8090/ws # relay server (bin/jumphp relay up); the page can override with ?net= online: false touch: { a: Space, b: Escape, start: Return, pad: stick } # phones: a floating stick (8 directions) + buttons; remove `pad:` for the arrow cross # what `bin/jumphp test` runs headless (no window), 600 frames = 10 s of game time smoke: scene: App\Scene\SandboxScene params: { demo: true }