# JUMPBALL PHP: a ball rolls on a neon track in 3D, faster and faster; steer and jump over the holes. # WebGL in the browser (JumPHP\Gl), the same game in software 3D on the desktop. # Every key is optional (defaults: JumPHP\Kernel\GameConfig::DEFAULTS). game: id: jumpball title: "JUMPBALL PHP" version: 0.1.0 description: "A 3D runner in PHP + WebGL: the ball rolls faster and faster, steer and jump over the holes." width: 320 height: 180 scale: 3 background: [8, 6, 34] start_scene: App\Scene\TitleScene lang: en pause_scene: App\Scene\PauseScene pwa: { short_name: JUMPBALL, theme_color: '#08061e' } controls: "Arrows / A D / stick: steer. Space / Up / A: jump (hold to jump again). Escape / Start: pause." touch: { pad: stick, a: Space, b: Escape, start: Escape, labels: { a: JUMP } } # a floating joystick on the left half # what `bin/jumphp test` runs headless: the bot plays (and restarts when it falls) smoke: scene: App\Scene\PlayScene params: { demo: true, seed: 42 }