Version 1, last updated by ChadyG at March 15, 2010 23:08 UTC
JSON Overview
The Files
Main
The entry point is "main.json", this is the one file reference that is not programmable through configuration. It serves to provide details necessary to create a window, provides button mappings and an initial state.
Title
The configuration for title sequences is simply a list of screens to cycle through.
Menu
The menu state configuration allows you to define a menu UI through JSON.
Play
The configuration for play states is where you tell the engine what levels are to be loaded as well as define the data and look of your player.
Level
Level files consist of screen space transform parameters, physics shapes, and sprites to be placed in the scene.