Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Side by Side Diff: nacltoons/data/res/sample_game/level3.def

Issue 15070003: [nacltoons] Add compound shapes. (Closed) Base URL: https://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « nacltoons/data/res/sample_game/level2.def ('k') | nacltoons/data/res/touch_handler.lua » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« no previous file with comments | « nacltoons/data/res/sample_game/level2.def ('k') | nacltoons/data/res/touch_handler.lua » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698