|
[nacltoons] Add compound shapes.
This change is suprisingly large as it involves switching
from CCPhysicsSprite (where each physics object must have
a visisble sprite) to CCPhysicsNode (where the physics
node itself is not visible, but can have zero or more
visible children).
This means that a single phyiscs node (corresponding to a
single box2d body) can be constructed from many shapes and
sprites, each adding its own fixtures to the overall body.
R=binji@chromium.org
Committed: https://code.google.com/p/nativeclient-sdk/source/detail?r=1552
Total comments: 15
Total comments: 13
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+453 lines, -217 lines) |
Patch |
|
D |
nacltoons/bindings/CCPhysicsSprite.pkg
|
View
|
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
|
M |
nacltoons/bindings/LuaCocos2dExtensions.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
nacltoons/bindings/LuaCocos2dExtensions.cpp
|
View
|
1
2
|
4 chunks |
+173 lines, -4 lines |
0 comments
|
Download
|
|
M |
nacltoons/bindings/extensions.pkg
|
View
|
2
|
1 chunk |
+26 lines, -1 line |
0 comments
|
Download
|
|
M |
nacltoons/bindings/lua_level_layer.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
nacltoons/bindings/lua_level_layer.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
nacltoons/data/res/default_game.lua
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
nacltoons/data/res/drawing.lua
|
View
|
1
2
3
4
5
6
|
8 chunks |
+146 lines, -102 lines |
0 comments
|
Download
|
|
M |
nacltoons/data/res/loader.lua
|
View
|
1
2
3
4
5
|
1 chunk |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
nacltoons/data/res/sample_game/level1.def
|
View
|
1
2
3
4
5
|
2 chunks |
+17 lines, -12 lines |
0 comments
|
Download
|
|
M |
nacltoons/data/res/sample_game/level2.def
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
nacltoons/data/res/sample_game/level3.def
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
nacltoons/data/res/touch_handler.lua
|
View
|
|
3 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
nacltoons/data/res/util.lua
|
View
|
1
2
3
4
5
6
|
2 chunks |
+9 lines, -3 lines |
0 comments
|
Download
|
|
M |
nacltoons/data/res/validate.lua
|
View
|
1
2
3
4
5
6
|
1 chunk |
+28 lines, -34 lines |
0 comments
|
Download
|
|
M |
nacltoons/proj.linux/Makefile
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
nacltoons/proj.nacl/Makefile
|
View
|
1
2
3
4
5
|
1 chunk |
+15 lines, -14 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|