mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
Moar boxes.
This commit is contained in:
parent
e38213fb67
commit
3ed63ef028
@ -211,7 +211,7 @@ public class Box2DExample extends ApplicationAdapter {
|
|||||||
// Next we create the 50 box bodies using the PolygonShape we just
|
// 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
|
// defined. This process is similar to the one we used for the ground
|
||||||
// body. Note that we reuse the polygon for each body fixture.
|
// 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
|
// Create the BodyDef, set a random position above the
|
||||||
// ground and create a new body
|
// ground and create a new body
|
||||||
BodyDef boxBodyDef = new BodyDef();
|
BodyDef boxBodyDef = new BodyDef();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user