docs: Fix examples for v1.9.0 (#2757)

Fixed up some examples that needed fixing before releasing v1.9.0
This commit is contained in:
Lukas Klingsbo
2023-09-21 21:24:40 +02:00
committed by GitHub
parent f5d0cb3856
commit 152fbb61db
14 changed files with 101 additions and 92 deletions

View File

@ -25,7 +25,7 @@ class JoystickExample extends FlameGame {
);
player = JoystickPlayer(joystick);
add(player);
add(joystick);
world.add(player);
camera.viewport.add(joystick);
}
}