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
Balatro: the title's paint keeps moving behind Options
Mason3631b0f1307c3bc
diff --git a/games/balatro/src/main.c b/games/balatro/src/main.cindex cbb5ed95..9e1bcd82 100644--- a/games/balatro/src/main.c+++ b/games/balatro/src/main.c@@ -1633,9 +1633,17 @@ int main(void) {if (R.best_hand > S.best_hand) S.best_hand = R.best_hand;draw_overlay();}- bg_update(dt / 1000.f, overlay == OV_RUNINFO || overlay == OV_DECK ? 0 : screen == SCR_TITLE ? (overlay ? 2 : 8) : 6);+ /* the title's paint keeps moving at its own pace behind a panel (Options, the new run...): 8 rows of it a frame,+ fewer only while a frame takes too long (a page full of text on the N0110). Run Info and the deck cover the+ screen in a run. */+ static int title_rows = 8;+ bg_update(dt / 1000.f, overlay == OV_RUNINFO || overlay == OV_DECK ? 0 : screen == SCR_TITLE ? title_rows : 6);g_end();uint64_t spent = eadk_timing_millis() - now;+ if (screen == SCR_TITLE) {+ if (spent > 30 && title_rows > 2) title_rows--;+ else if (spent < 26 && title_rows < 8) title_rows++;+ }if (spent < 30) eadk_timing_msleep((uint32_t)(30 - spent));}}