game.resources = [
	/**
	 * Graphics.
	 */
	// our level tileset
	{name: "area01_level_tiles",  type:"image",	src: "data/img/map/area01_level_tiles.png"},
	// the main player spritesheet
	{name: "gripe_run_right",     type:"image",	src: "data/img/sprite/gripe_run_right.png"},
	/* 
	 * Maps. 
 	 */
	{name: "area01",              type: "tmx",	src: "data/map/area01.tmx"}

	/* 
	 * Background music. 
	 */	
	
	/* 
	 * Sound effects. 
	 */
];

@@ -16,56 +16,22 @@
 = %5B%0A
-%09/**%0A%09 * Graphics.%0A%09 */%0A%09// our level tileset%0A%09%7B
+    %7B%0A        
 name
@@ -53,31 +53,39 @@
 _tiles%22,
+%0A     
   
+ 
 type:
+ 
 %22image%22,
 %09src: %22d
@@ -68,33 +68,41 @@
   type: %22image%22,
-%09
+%0A        
 src: %22data/img/m
@@ -131,45 +131,30 @@
 png%22
-%7D,%0A%09// the main player spritesheet%0A%09%7B
+%0A    %7D,%0A    %7B%0A        
 name
@@ -177,26 +177,31 @@
 ht%22,
+%0A
      
+   
 type:
+ 
 %22image%22,
 %09src
@@ -196,17 +196,25 @@
 %22image%22,
-%09
+%0A        
 src: %22da
@@ -251,35 +251,30 @@
 png%22
-%7D,%0A%09/* %0A%09 * Maps. %0A %09 */%0A%09%7B
+%0A    %7D,%0A    %7B%0A        
 name
@@ -284,25 +284,25 @@
 area01%22,
- 
+%0A
         
      typ
@@ -293,21 +293,16 @@
         
-     
 type: %22t
@@ -309,13 +309,19 @@
 mx%22,
-%09
+%0A       
 src
-:
  %22da
@@ -342,76 +342,14 @@
 tmx%22
-%7D%0A%0A%09/* %0A%09 * Background music. %0A%09 */%09%0A%09%0A%09/* %0A%09 * Sound effects. %0A%09 */
+%0A    %7D
 %0A%5D;%0A

edit reources.js