From: Lukas Krickl Date: Tue, 8 Jul 2025 03:53:46 +0000 (+0200) Subject: player: moved when scroll to center is called X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=bfd82ca747c293b9320efe89d85ef5ce8a80022f;p=gbrg%2F.git player: moved when scroll to center is called This makes the camera behave a bit nicer. It still kinda looks a bit off when moving a lot. --- diff --git a/src/player.s b/src/player.s index e93d821..f695c6b 100644 --- a/src/player.s +++ b/src/player.s @@ -31,12 +31,13 @@ unit_player_update: pop de push de - call unit_handle_inputs + call unit_scroll_center pop de - + push de - call unit_scroll_center + call unit_handle_inputs pop de + ret