20 lines
1.1 KiB
YAML
20 lines
1.1 KiB
YAML
# The game. Every key is optional (defaults: JumPHP\Kernel\GameConfig::DEFAULTS).
|
|
project:
|
|
id: skeleton # lower case, unique: folder of the games portal, network room filter
|
|
title: "JumPHP Skeleton"
|
|
version: 0.1.0
|
|
description: "A tiny platformer: the starting point of a JumPHP game."
|
|
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: 180
|
|
scale: 3 # desktop window = 960 x 540
|
|
background: [16, 16, 32]
|
|
start_scene: App\Scene\TitleScene
|
|
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\PlayScene
|
|
params: { demo: true }
|