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
Celeste: snow and railings in their place, swaying wires
Mason Chen7ad3bee507d2
diff --git a/games/celeste/src/level.c b/games/celeste/src/level.cindex 8317933e..691d95f3 100644--- a/games/celeste/src/level.c+++ b/games/celeste/src/level.c@@ -791,6 +791,10 @@ void level_update(void) {}ents_update();}+ if (!g_level.frozen) { /* !FrozenOrPaused: the wind's sway (Wire) */+ g_level.wind_sine_timer += DT;+ g_level.wind_sine = (sinf(g_level.wind_sine_timer) + 1) / 2;+ }player_after_update(&g_player);ents_flush_removed();ents_awake_new();diff --git a/games/celeste/src/tiles.c b/games/celeste/src/tiles.cindex 7d855119..054dde19 100644--- a/games/celeste/src/tiles.c+++ b/games/celeste/src/tiles.c@@ -233,8 +233,9 @@ static void layer_strip(uint16_t *strip, int y0, int y1, void *ctx) {if (t == TERR_SCENERY) {Tex sc;if (tex_get(T_tilesets_scenery, &sc)) {- int q = C_QUAD(v);- scenery_tile(strip, y0, y1, &sc, (q % 30) * 8, (q / 30) * 8, ox + k * 8, y);+ /* Tileset: Texture.Width / 8 tiles a row, the frame's width (256: 32), not the trimmed one */+ int q = C_QUAD(v), cols = sc.fw >> 3;+ scenery_tile(strip, y0, y1, &sc, (q % cols) * 8, (q / cols) * 8, ox + k * 8, y);}continue;}