浏览代码

Moar boxes.

NathanSweet 10 年之前
父节点
当前提交
3ed63ef028
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      spine-libgdx/spine-libgdx-tests/src/com/esotericsoftware/spine/Box2DExample.java

+ 1 - 1
spine-libgdx/spine-libgdx-tests/src/com/esotericsoftware/spine/Box2DExample.java

@@ -211,7 +211,7 @@ public class Box2DExample extends ApplicationAdapter {
 		// Next we create the 50 box bodies using the PolygonShape we just
 		// defined. This process is similar to the one we used for the ground
 		// body. Note that we reuse the polygon for each body fixture.
-		for (int i = 0; i < 20; i++) {
+		for (int i = 0; i < 45; i++) {
 			// Create the BodyDef, set a random position above the
 			// ground and create a new body
 			BodyDef boxBodyDef = new BodyDef();