OLD | NEW |
1 # Level description file. This file describes a single level. It | 1 # Level description file. This file describes a single level. It |
2 # is desgined to be referenced from the theme descritions file. | 2 # is desgined to be referenced from the theme descritions file. |
3 # It should not pollute the global namespace and should return a | 3 # It should not pollute the global namespace and should return a |
4 # single value which is the table describing the level. | 4 # single value which is the table describing the level. |
5 # vi: filetype=yaml | 5 # vi: filetype=yaml |
6 | 6 |
7 num_stars: 3 | 7 num_stars: 3 |
8 | 8 |
9 sprites: | 9 shapes: |
10 - { pos: [ 200, 250 ], image: ball_image, tag: BALL, script: ball.lua } | 10 - { type: image, dynamic: true, pos: [ 200, 250 ], image: ball_image, tag: BALL
, script: ball.lua } |
11 - { pos: [ 34, 56 ], image: goal_image, tag: GOAL, sensor: true } | 11 - { type: image, pos: [ 34, 56 ], image: goal_image, tag: GOAL, sensor: true
} |
12 - { pos: [ 100, 100 ], image: star_image, tag: STAR1, sensor: true } | 12 - { type: image, pos: [ 100, 100 ], image: star_image, tag: STAR1, sensor: true
} |
13 - { pos: [ 200, 150 ], image: star_image, tag: STAR2, sensor: true } | 13 - { type: image, pos: [ 200, 150 ], image: star_image, tag: STAR2, sensor: true
} |
14 - { pos: [ 300, 200 ], image: star_image, tag: STAR3, sensor: true } | 14 - { type: image, pos: [ 300, 200 ], image: star_image, tag: STAR3, sensor: true
} |
OLD | NEW |