Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
fix: reduce CameraMan vertical displacement (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
alestiago authored Mar 13, 2024
1 parent 8982a35 commit c49fd34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/trashy_road/lib/src/game/game.dart
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,6 @@ class _CameraMan extends PositionComponent
void _updatePosition() {
position
..setFrom(actor.position)
..y -= game.camera.viewport.size.y / 4.25;
..y -= game.camera.viewport.size.y / 8;
}
}

0 comments on commit c49fd34

Please sign in to comment.