Experimental YAML format level data
+tilesize 64 64
+bbox 19 7
+texture img/block.png
+tile 0 0
+tile 1 0
+tile 2 0
+tile 3 0
+tile 4 0
+tile 5 0
+tile 6 0
+tile 7 0
+tile 8 0
+tile 9 0
+
+tile 3 1
+tile 4 1
+tile 4 2
+tile 4 3
+tile 4 4
+
+tile 6 1
+tile 6 2
+
+tile 10 0
+tile 12 0
+tile 13 0
+tile 14 0
+tile 15 0
+tile 16 0
+tile 17 0
+tile 18 0
+
+tile 12 1
+tile 13 1
+tile 14 1
+tile 14 2
+
+tilesize 1 1
+texture img/ByteIco.png
+tile 263 263
+main:
+ collage: example1
+ surfaces: example1
+ things:
+
+ player:
+ class: Richter
+ properties: {position: [64,64]}
+ events:
+ collide(self, obj): |
+ if obj == zombie1:
+ print "ZOMBIE!"
+ enterRegion(self, region): |
+ print "region"
+
+ candelabra:
+ class: Sprite
+ args:
+ file:
+ - Sprites/candelabra_short/cand_s_1.png
+ - Sprites/candelabra_short/cand_s_2.png
+ - Sprites/candelabra_short/cand_s_3.png
+ - Sprites/candelabra_short/cand_s_4.png
+ position: [64,64]
+ scale: 2.0
+ gravity: [CENTER,BOTTOM]
+ framerate: 10.0
+ init: |
+ candelabra.play()
+
+
+ zombie1:
+ class: Zombie
+ events:
+ collide(self, obj): |
+ print "GRAAAR!", obj
+
+stars:
+ collage: stars
+tilesize 64 64
+
+solid 0 0 10 1
+surface 2 1 4 2
+solid 4 1 5 5
+solid 6 1 7 3
+
+solid 10 0 11 1
+solid 12 0 19 1
+surface 12 1 13 2
+solid 13 1 15 2
+solid 14 2 15 3