# HG changeset patch # User Mike Becker # Date 1713297977 -7200 # Node ID 5a592625e2f9fbb5e917aa4be8c1537d29f83a26 # Parent b7954818a6b7ab9a30e06083c96fdfb2de00386f left and right are to distinguish... diff -r b7954818a6b7 -r 5a592625e2f9 test/snake.c --- a/test/snake.c Fri Apr 12 22:43:00 2024 +0200 +++ b/test/snake.c Tue Apr 16 22:06:17 2024 +0200 @@ -55,14 +55,14 @@ } static void update_score_counter(AscSceneNode *node) { - // tie to bottom left of the screen + // tie to bottom right of the screen if (asc_window_active->resized) { - asc_vec2i bottom_left = asc_window_active->dimensions; + asc_vec2i bottom_right = asc_window_active->dimensions; asc_vec2i scale = asc_get_scale2d(node); asc_set_position2d( node, - bottom_left.x - scale.width - 10, - bottom_left.y - scale.height - 10 + bottom_right.x - scale.width - 10, + bottom_right.y - scale.height - 10 ); } }