mirror of
https://github.com/flame-engine/flame.git
synced 2025-10-31 00:48:47 +08:00
docs: Move flame_forge2d examples to main examples (#1588)
This commit is contained in:
@ -40,7 +40,7 @@ class MultipleShapesExample extends FlameGame
|
||||
add(screenHitbox);
|
||||
add(snowman);
|
||||
var totalAdded = 1;
|
||||
while (totalAdded < 100) {
|
||||
while (totalAdded < 1000) {
|
||||
lastToAdd = nextRandomCollidable(lastToAdd, screenHitbox);
|
||||
final lastBottomRight = lastToAdd.toAbsoluteRect().bottomRight;
|
||||
if (lastBottomRight.dx < size.x && lastBottomRight.dy < size.y) {
|
||||
|
||||
Reference in New Issue
Block a user