docs: Move flame_forge2d examples to main examples (#1588)

This commit is contained in:
Lukas Klingsbo
2022-05-01 15:00:48 +02:00
committed by GitHub
parent 7877579868
commit 6dd0a970e6
26 changed files with 499 additions and 407 deletions

View File

@ -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) {