From c49fd34fb7ddbfea2715db74f13467999feaec01 Mon Sep 17 00:00:00 2001 From: Alejandro Santiago Date: Wed, 13 Mar 2024 19:08:32 +0000 Subject: [PATCH] fix: reduce CameraMan vertical displacement (#328) --- packages/trashy_road/lib/src/game/game.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/trashy_road/lib/src/game/game.dart b/packages/trashy_road/lib/src/game/game.dart index 8a762313..948f52e0 100644 --- a/packages/trashy_road/lib/src/game/game.dart +++ b/packages/trashy_road/lib/src/game/game.dart @@ -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; } }