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

Unified Diff: nacltoons/data/res/sample_game/level2.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « nacltoons/data/res/sample_game/level1.def ('k') | nacltoons/data/res/sample_game/level3.def » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nacltoons/data/res/sample_game/level2.def
diff --git a/nacltoons/data/res/sample_game/level2.def b/nacltoons/data/res/sample_game/level2.def
index a0a0b2c42239bb7f1403179de2c5806167216e38..74bf6fa0c58ff844aa29f044408e29203b43d067 100644
--- a/nacltoons/data/res/sample_game/level2.def
+++ b/nacltoons/data/res/sample_game/level2.def
@@ -6,11 +6,11 @@
num_stars: 3
-sprites:
- - { pos: [ 34, 56 ], image: goal_image, tag: GOAL }
- - { pos: [ 200, 250 ], image: ball_image, tag: BALL }
- - { pos: [ 100, 100 ], image: star_image, tag: STAR1 }
- - { pos: [ 200, 150 ], image: star_image, tag: STAR2 }
- - { pos: [ 300, 200 ], image: star_image, tag: STAR3 }
+shapes:
+ - { type: image, dynamic: true, pos: [ 200, 250 ], image: ball_image, tag: BALL }
+ - { type: image, pos: [ 34, 56 ], image: goal_image, tag: GOAL }
+ - { type: image, pos: [ 100, 100 ], image: star_image, tag: STAR1 }
+ - { type: image, pos: [ 200, 150 ], image: star_image, tag: STAR2 }
+ - { type: image, pos: [ 300, 200 ], image: star_image, tag: STAR3 }
script: level2.lua
« no previous file with comments | « nacltoons/data/res/sample_game/level1.def ('k') | nacltoons/data/res/sample_game/level3.def » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698