Skip to content
Geoffrey Benson edited this page Nov 29, 2013 · 4 revisions

Create a new .spec file in the assets/types directory.

Example .spec file for a type:

{
	"type": {
	    "name": "RPG",
	    "tile_width": 64,
	    "tile_height": 64,
	    "directions": [
	        "up",
	        "left",
	        "down",
	        "right"
	    ],
	    "actions": [
		    {
	    	    "name": "walking",
	        	"frames": 9
		    }
	    ]
	}
}
Clone this wiki locally