fix: camera position

pull/74/head
Erick Zanardo 4 years ago
parent 5f90e62258
commit 10528ec7e1

@ -43,7 +43,7 @@ class PinballGame extends Forge2DGame
// Fix camera on the center of the board size
camera
..followVector2(screenToWorld(boardSize / 2))
..followVector2(Vector2.zero())
..zoom = size.y / 14;
}

Loading…
Cancel
Save