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

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