Developer Guide for game.json
Use ?editor=true for the visual editor, or ?custom=true to paste/upload a custom JSON.
Top-level: start, config, progression, scenes, enemies, items, shops.
Scene keys: text (array), choices (array of {text, action, target, actionstring, requires, setProgress, changeProgress}), shop (string), allowItemOutside (bool).
Special actions: goto, fight (with actionstring enemyId), prevscene, restart, getitem, giveitemx (id:qty), shop.
Combat: turn-based. Enemies definable in JSON with {hp, damageMin, damageMax, xp, gold, winScene, loseScene, onRunScene, noFlee}.
Inventory: stacks via item.maxStack. Items can have effects targeting player/enemy/progress/scene, and battleOnly flag. Scenes can disallow outside-of-battle usage via allowItemOutside=false.
Shops: define shops.{shopId}.items = [{itemId, price, stock}] and reference from a scene with "shop":"shopId".
Open Visual Editor
Back
Visual JSON Editor
Apply & Load Preview Download JSON Load Active Game Clear Autosave Back Upload JSON
Autosave: loaded
Load Custom JSON
Paste JSON below or upload a .json file. After loading, the game will start using that JSON.
Load from paste Upload from file Back