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
Temple Run: credit the game's own models, make data
Mason363e057a477df1f
diff --git a/README.md b/README.mdindex 8bc6e02d..f7dde699 100644--- a/README.md+++ b/README.md@@ -373,7 +373,7 @@ NumPlay is a fan project, made out of love for these games and for the NumWorks- **[PolyTrack](https://www.kodub.com/apps/polytrack)** by Kodub inspired NumPlay's PolyTrack, which drives the game's 17 tracks with its own physics numbers, models, colours and logo, read from its web build. Its 3D engine grew out of **Boris-TH**'s PolyGT 3D. Not affiliated with Kodub.- **[Universal Paperclips](https://www.decisionproblem.com/paperclips/)** by Frank Lantz (Everybody House Games), with combat programming by Bennett Foddy, inspired NumPlay's Universal Paperclips, which plays the whole game with its rules, numbers, projects and messages, read from its web build. Not affiliated with them.- **[Bad Time Simulator](https://github.com/jcw87/c2-sans-fight)** by jcw87, Undertale's Sans fight remade, inspired NumPlay's Bad Time Simulator, which plays its 24 attack scripts with its sprites (Undertale's, by Toby Fox), words and numbers, read from its project, and the **Pixel Operator** font. Not affiliated with jcw87 or Toby Fox.-- **Temple Run** by Imangi Studios inspired NumPlay's Temple Run, which follows the game's rules and numbers (its path, piece for piece, and its pacing, speeds, coins, power-ups, upgrades and objectives), read from its Android package (version 1.0.8), with plain models made for it and the **Lilita One** font (SIL Open Font License, [license](LICENSES/OFL-1.1-LilitaOne.txt)). Not affiliated with Imangi Studios.+- **Temple Run** by Imangi Studios inspired NumPlay's Temple Run, which follows the game's rules and numbers (its path, piece for piece, and its pacing, speeds, coins, power-ups, upgrades and objectives) and uses its own models (Guy Dangerous, the demon monkeys, the path, the coins and the scenery, with fewer triangles), all read from its Android package (version 1.0.8), and the **Lilita One** font (SIL Open Font License, [license](LICENSES/OFL-1.1-LilitaOne.txt)). Not affiliated with Imangi Studios.- **[Level Devil](https://store.steampowered.com/app/3242750/)** by Unept: NumPlay's Level Devil is written in C with no code from the game, but its 80 rooms (their tiles, traps and timing) are the game's own, taken from its web build by games/leveldevil/tools/fetch.py, and its runner is drawn from the game's sprites.- **Pong** by Atari (1972) inspired NumPlay's 2 Players, with air hockey, tanks in a maze in the spirit of Tank Trouble and the light cycles of Tron. All four are written in C for NumPlay and drawn from shapes, with no code or art from them.diff --git a/games/templerun/Makefile b/games/templerun/Makefileindex 94edaa41..9a529fbc 100644--- a/games/templerun/Makefile+++ b/games/templerun/Makefile@@ -3,7 +3,9 @@# make check link it like the calculator does (output/templerun.bin)# make host build/play: the game on a computer, for tests and screenshots# make test the game played on a computer (tests/check.py, with the sanitizers)-# make models src/data.c and src/data.h again: the mesh table (tools/models.py: Python)+# make data DATA=DIR src/data.c and src/data.h again: the game's own models, from its Android package (DIR: its+# assets/bin/Data; tools/apk.py: UnityPy, NumPy, Pillow; the package is only read)+# make models src/data.c and src/data.h as the port's stand-ins instead (tools/models.py: Python)# make floor DATA=DIR src/floor.c and src/floor.h again: each path piece's ground and obstacles, from the game's# Android package (DIR: its assets/bin/Data; tools/floor.py with tools/apk.py: UnityPy, NumPy;# the package is only read). Then make models (the pieces' stand-ins follow their ground).@@ -29,7 +31,7 @@ LDFLAGS = -Wl,--relocatable -nostartfiles --specs=nano.specsLDFLAGS += -Wl,-e,main -Wl,-u,eadk_app_name -Wl,-u,eadk_app_icon -Wl,-u,eadk_api_levelLDFLAGS += -Wl,--gc-sections -flinker-output=nolto-rel-.PHONY: build check clean host test models floor+.PHONY: build check clean host test models floor databuild: $(BUILD_DIR)/templerun.nwa# apps get 133652 bytes of RAM on custom builds of Epsilon 25.2 (148928 or more on official ones)@@ -69,5 +71,8 @@ models:floor:python3 -I tools/floor.py $(DATA) src+data:+ python3 -I tools/apk.py $(DATA) src+clean:$(Q) rm -rf $(BUILD_DIR) builddiff --git a/games/templerun/README.md b/games/templerun/README.mdindex 8151015e..9dc8eba5 100644--- a/games/templerun/README.md+++ b/games/templerun/README.md@@ -63,7 +63,7 @@## Good to know* **One app at a time:** Temple Run is too big to sit next to NumPlay or the other big games. Installing it from the NumWorks website swaps them out, and installing them again swaps it out. Your saves in each one are kept.-* **Plain models for now:** the runner, the pursuers and the path's pieces are simple block models in the game's colours, each piece shaped like the ground the game gives it.+* **The game's own models:** Guy Dangerous, the demon monkeys, the path's pieces, the coins and the scenery are the game's, with fewer triangles for the calculator. The power-ups and the fire are drawn by the port.* **Left out:** the other characters and wallpapers, the permanent wings, the tutorial run, the online leaderboards, ads and purchases.* **No music or sound:** the calculator has no speaker.@@ -72,13 +72,13 @@Temple Run is a game by Imangi Studios. This port is not affiliated with or endorsed by them.* The rules and numbers (the path, its pieces and their ground and obstacles, its pacing, speeds, jumps, slides, stumbles, turns, coins, power-ups, upgrades and their prices, objectives) are Imangi's, read from the game's Android package (version 1.0.8).-* The models are plain stand-ins made for this port (`tools/models.py`).+* Guy Dangerous, the demon monkeys, the path's pieces, the coins and the scenery are Imangi's own models, read from the game's Android package by `tools/apk.py`, with fewer triangles for the calculator. The power-ups and the fire are drawn by the port (`tools/models.py`).* The lettering is **Lilita One** by Juan Montoreano (SIL Open Font License 1.1, [license](../../LICENSES/OFL-1.1-LilitaOne.txt)).Made by Mason Chen as part of NumPlay.-Build: `make` (needs `arm-none-eabi-gcc` and Node.js for nwlink); `make test` plays it on a computer. `make models` makes `src/data.c` again: every model is a mesh in one table there, by number (the path's pieces named after the game's prefabs), so the art can be made again without touching the game. `make floor DATA=DIR` makes `src/floor.c` again, the ground and obstacles of each piece, from the game's package unzipped (`DIR` is its `assets/bin/Data`).+Build: `make` (needs `arm-none-eabi-gcc` and Node.js for nwlink); `make test` plays it on a computer. `make data DATA=DIR` makes `src/data.c` again from the game's package unzipped (`DIR` is its `assets/bin/Data`; `tools/apk.py` reads it with UnityPy, nothing in it is run): every model is a mesh in one table there, by number, the path's pieces and the scenery named after the game's prefabs. `make models` makes the port's stand-ins instead (`tools/models.py`). `make floor DATA=DIR` makes `src/floor.c` again, the ground and obstacles of each piece, from the game's package unzipped (`DIR` is its `assets/bin/Data`).## License-The port's code is licensed under the GNU General Public License v3.0: see the `LICENSE` file at the root of the repository. Temple Run's rules and numbers are Imangi Studios', and the font keeps its own terms (see Credits).+The port's code is licensed under the GNU General Public License v3.0: see the `LICENSE` file at the root of the repository. Temple Run's models, rules and numbers are Imangi Studios', and the font keeps its own terms (see Credits).