Free games for graphing calculators: NumWorks, TI-Nspire CX, Casio fx-CG50 and soon TI-84 Plus CE. Balatro, Celeste, Hollow Knight, Minecraft and more.
C calculatorcalculator-gamescasiochesscrossy-roaddrive-madfx-cg50gamesgeometry-dashgraphing-calculatorndlessnumworksnumworks-appsnumworks-calculatornumworks-gamenumworks-gamestetristi-84-plus-ceti-nspire
Cookie Clicker: a two-line news item stays inside the news bar
Mason3634e16590fd650
diff --git a/games/cookieclicker/src/ui.c b/games/cookieclicker/src/ui.cindex f99c95d5..22037c03 100644--- a/games/cookieclicker/src/ui.c+++ b/games/cookieclicker/src/ui.c@@ -191,8 +191,8 @@ static void news_text(const char *s, int alpha, int dy) {uint16_t c = RGB(255, 255, 255);if (n == 1) gfx_text_outline_center(F_SMALL, NEWS_X + w / 2 + 2, 13 + dy, lines[0], c, alpha);else if (n == 2) {- gfx_text_outline_center(F_SMALL, NEWS_X + w / 2 + 2, 9 + dy, lines[0], c, alpha);- gfx_text_outline_center(F_SMALL, NEWS_X + w / 2 + 2, 18 + dy, lines[1], c, alpha);+ gfx_text_outline_center(F_SMALL, NEWS_X + w / 2 + 2, 8 + dy, lines[0], c, alpha); /* (both lines above the */+ gfx_text_outline_center(F_SMALL, NEWS_X + w / 2 + 2, 16 + dy, lines[1], c, alpha); /* bar's edge) */} else { /* too long: it goes by */U.news_long = true;int tw = gfx_text_width(F_SMALL, s);