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
Level Devil: the GIF from the final build; README on the warp and the sparks
Mason36333a44b843180
diff --git a/docs/media/leveldevil.gif b/docs/media/leveldevil.gifindex 672185f1..a62cebf1 100644Binary files a/docs/media/leveldevil.gif and b/docs/media/leveldevil.gif differdiff --git a/games/leveldevil/README.md b/games/leveldevil/README.mdindex 758915c9..5232ef76 100644--- a/games/leveldevil/README.md+++ b/games/leveldevil/README.md@@ -7,7 +7,7 @@ Run to the door. The level has other plans. Unept's troll platformer on the NumW- **The 80 rooms of the game, in its order:** Pits, Spikes, Push, Coins, Controls, Platforms, Springs, Warps, Scale, Doors, Saws, Flappy, Gravity, Movement, Wraparound and the Boss, each in its own colours. Clear a world's five rooms to open the next one.- **The game's traps, as it times them:** floors that drop or slide away, spikes that pop up in waves, walls that push you into pits, coins over fake ground, controls that turn round, platforms that sink under you, springs and warps that send you the wrong way, a runner that grows and shrinks, doors that run off or swap places with you, saws that chase you, gravity that flips, rooms where you fly, slide, float or wrap round the screen, and the Devil's giant saw.- **Its feel:** the runner's speed, jump and gravity, its five-step grace after running off an edge, springs, ice and moving platforms that carry you.-- **Its pictures, all of them the game's:** the runner running, jumping and flapping, its pieces flying apart when it dies and coming together when a room starts; the doors and their shutting, spikes, saws, springs, warps, buttons, coins and the arrow keys under the first room; the five squares of the world's rooms, its back button and its PRESS ANY KEY.+- **Its pictures, all of them the game's:** the runner running, jumping and flapping, its pieces flying apart when it dies or warps and coming together again; the doors and their shutting, spikes, saws, springs, warps, buttons, coins and their sparks, and the arrow keys under the first room; the five squares of the world's rooms, its back button and its PRESS ANY KEY.- **Its screens:** the jaws with the Devil's eyes that shut between two rooms, the title with its 1 Player card, and the map of the worlds, with the game's sixteen portals on their paths: the one you pick lit up, the open ones in their world's colours, the locked ones dark. The pause is the shut jaws with the game's buttons on them.- **Deaths counted,** for the world and in all, with your best (the fewest deaths) for each one. The game remembers the room you reached, so you can stop any time, and keeps a copy of its save in `leveldevil_saves.py`, so installing the app again doesn't erase it.diff --git a/games/leveldevil/src/main.c b/games/leveldevil/src/main.cindex cbaf96fd..8268a205 100644--- a/games/leveldevil/src/main.c+++ b/games/leveldevil/src/main.c@@ -795,7 +795,7 @@ static void piece(int id, int32_t x, int32_t y) { /* 4 x 3, about (2, 1) */static void play_hud(void) {for (int i = 0; i < ROOMS; i++) { /* the five rooms: those reached fill in, growing and back, at 750 ms */int t = frame - 45, d = 6 * (i + 1), s = 0, x = 136 + 10 * i;- if (i <= rnum && t >= 0 && t < 2 * d) s = t < d ? t * 4 / d : (2 * d - t) * 4 / d; /* (8ths of its size) */+ if (i <= rnum && t >= 0 && t < 2 * d) s = t < d ? t * 4 / d : (2 * d - t) * 4 / d; /* (9 to 13 pixels) */spr(i <= rnum && t >= 0 ? P_ROOM_DONE : P_ROOM_SQUARE, x - s / 2, 4 - s / 2, x + 9 + s / 2 + s % 2, 12 + s / 2 + s % 2, 0, 0,0, 0);}