Level class created and gravity editable.

This commit is contained in:
Mal
2020-02-16 00:53:03 +01:00
parent cec3cc726f
commit a7ecbf9d2e
20 changed files with 277 additions and 133 deletions

View File

@@ -1,10 +1,9 @@
{
"tileset": "/mr-crocs-adventures/graphics/tileset/landscape01.jpg",
"tiles": 8,
"scale": 3,
"tileset": 0,
"rows": 10,
"columns": 17,
"backgroundColor": "#6096ff",
"gravity": 2.0,
"matrix": [
[6 ,6 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,4 ,4 ],
[6 ,6 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,4 ,4 ],