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
NumBlocks: creative items go down to the hotbar
Mason Chen12fa6a73962b
diff --git a/games/numblocks/src/gui.c b/games/numblocks/src/gui.cindex 4ee49daa..8d7da1c9 100644--- a/games/numblocks/src/gui.c+++ b/games/numblocks/src/gui.c@@ -1138,8 +1138,8 @@ void gui_input(uint32_t keys, uint32_t pressed) {}bool scrolled = false;if (gui == GUI_CREATIVE && slots[cur].kind == SL_CREATIVE) {- /* past the top or bottom row: scroll the tab */- if ((pressed & K_DOWN) && cur >= 36 && cscroll + 5 < tab_rows()) cscroll++, scrolled = true;+ /* past the top or bottom row: scroll the tab; holding a stack, down goes to the hotbar instead */+ if ((pressed & K_DOWN) && cur >= 36 && cscroll + 5 < tab_rows() && !pl.cursor.id) cscroll++, scrolled = true;if ((pressed & K_UP) && cur < 9 && cscroll > 0) cscroll--, scrolled = true;if (scrolled) creative_refresh();}