# The game. Every key is optional (defaults: JumPHP\Kernel\GameConfig::DEFAULTS). project: id: alis # lower case, unique: folder of the games portal, network room filter title: "ALIS" version: 0.1.0 description: "The Silmarils virtual machine (ALIS) in PHP: plays the original data files of their games." descriptions: {} # per language, {fr: "...", en: "..."}: the playground (jumphp.net) shows the visitor's width: 320 # virtual resolution (pixels of the game, scaled to the window) height: 240 scale: 3 # desktop window = 960 x 540 background: [16, 16, 32] start_scene: App\Scene\TitleScene # the big files of the games (films, ALIS sources: catalog/.json "lazy") come from the playground's externals # (externals/alis//, shared with this project by the administrator), read by blocks; else from the private # files lazy//. Not kept in the player's storage (IndexedDB stays in memory: 300 MB of films would be there): # the browser's HTTP cache keeps them instead (blocks asked with ?v=, immutable), from one session to the next. externals: { url: auto, persist: false, memory_mb: 8, parallel: 6 } lang: en net_url: ws://localhost:8090/ws # relay server (bin/jumphp relay up); the page can override with ?net= online: false touch: { pad: stick, a: Space, b: Escape, start: Return, labels: { a: ACTION, b: ESC, start: OK } } # 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\TitleScene