Speedrun Playback Record Tool vA
![Defy PCM Boombox and Audio String Library](https://games.phoneky.com/pics/defypcmboomboxandaudiostringlibrary1x.png)
![PicoShop Pro](https://games.phoneky.com/pics/picoshoppro1x.png)
![metatile_tester](https://games.phoneky.com/pics/metatiletester1x.png)
![DeFacto](https://games.phoneky.com/pics/defacto1x.png)
![2-bar Micro Rhythm Machine](https://games.phoneky.com/pics/2barmicrorhythmmachine1x.png)
![constant companion shorten your tweetcart constants!](https://games.phoneky.com/pics/constantcompanionshortenyourtweetcartconstants1x.png)
![Penny the Pumpkin V1.1](https://games.phoneky.com/pics/pennythepumpkinv111x.png)
![MYRRH'S EDGE](https://games.phoneky.com/pics/myrrhsedge1x.png)
![Rain Culture](https://games.phoneky.com/pics/rainculture1x.png)
![respriter](https://games.phoneky.com/pics/respriter1x.png)
![Draw SVG](https://games.phoneky.com/pics/drawsvg1x.png)
![pelogen (3D modeling tool)](https://games.phoneky.com/pics/pelogen3dmodelingtool1x.png)
![I regret nothing](https://games.phoneky.com/pics/iregretnothing1x.png)
![bebop music generator jukebox](https://games.phoneky.com/pics/bebopmusicgeneratorjukebox1x.png)
![char_maker](https://games.phoneky.com/pics/charmaker1x.png)
![Dig Deeper - Global Game Jam '21](https://games.phoneky.com/pics/digdeeperglobalgamejam211x.png)
![Banana Chase v3.01](https://games.phoneky.com/pics/bananachasev3011x.png)
![Mellow Meadow Deluxe](https://games.phoneky.com/pics/mellowmeadowdeluxe1x.png)
![Maze Speedrun](https://games.phoneky.com/pics/maze-speedrun1x.jpg)
![Funklost (Communityleste) V1.3](https://games.phoneky.com/pics/funklostcommunitylestev131x.png)
![Wobblepaint](https://games.phoneky.com/pics/wobblepaint1x.png)
![Fruit Ninja (not really)](https://games.phoneky.com/pics/fruitninjanotreally1x.jpg)
![Mot's Animation System](https://games.phoneky.com/pics/motsanimationsystem1x.png)
![PICO-8 0.1.12](https://games.phoneky.com/pics/pico801121x.png)
![Random sound generator](https://games.phoneky.com/pics/randomsoundgenerator1x.png)
![Fill Pattern Catalogue](https://games.phoneky.com/pics/fillpatterncatalogue1x.png)
![Tiny Animator](https://games.phoneky.com/pics/tinyanimator1x.png)
![Sprite Animator](https://games.phoneky.com/pics/spriteanimator1x.png)
![PicoPalette](https://games.phoneky.com/pics/picopalette1x.png)
![8x8 simple animator](https://games.phoneky.com/pics/8x8simpleanimator1x.png)
![Gradient Editor](https://games.phoneky.com/pics/gradienteditor1x.png)
![Toki Pona Tool (Newly revamped)](https://games.phoneky.com/pics/tokiponatoolnewlyrevamped1x.png)
![Adventure Creator](https://games.phoneky.com/pics/adventurecreator1x.png)
![4OP-8 - synth patch editor](https://games.phoneky.com/pics/4op8synthpatcheditor1x.png)
![CHR Printer](https://games.phoneky.com/pics/chrprinter1x.png)
![Spline Editor](https://games.phoneky.com/pics/splineeditor1x.png)
![Terra-Edit - A World Editor for Terra](https://games.phoneky.com/pics/terraeditaworldeditorforterra1x.png)
![Scrolleste](https://games.phoneky.com/pics/scrolleste1x.png)
![fingals](https://games.phoneky.com/pics/fingals1x.png)
![STLTHSCPE](https://games.phoneky.com/pics/stlthscpe1x.png)
![Station-8](https://games.phoneky.com/pics/station81x.png)
![Frozen Helm](https://games.phoneky.com/pics/frozenhelm1x.png)
![Abandoned](https://games.phoneky.com/pics/abandoned1x.png)
![MR. BLAST](https://games.phoneky.com/pics/mrblast1x.png)
![Celeste Tech Training](https://games.phoneky.com/pics/celestetechtraining1x.png)
![Chip Rush](https://games.phoneky.com/pics/chiprush1x.png)
![NEO - Celeste Classic 2 mod by KleinerLordiii](https://games.phoneky.com/pics/neocelesteclassic2modbykleinerlordiii1x.png)
![POF (speed dueling game)](https://games.phoneky.com/pics/pofspeedduelinggame1x.png)
Speedrun Playback Record Tool vA
TO LOAD THIS CART in immediate mode, type load #playback_a
VVhat's new ?
(01-17-22)
✅ New BTN() can now be called with no arguments, returns numeric of all buttons, thanks to @SmellyFishstiks.
✅ Beefed up the documentation and usage instructions.
This program will let you record and playback keystrokes, including saving your code with those compressed keystrokes in very small code indeed.
First off, the record and playback routine is 436-characters total, so this entire method is pretty small at that. Add about 46-characters for each of the functions record() and play() and you're home free !
Further I did not make this game. It is JELPI, written by @zep, a demo game which is included when you purchase Pico-8.
What I have written are two primary functions. One to record keystrokes as you play the game and transfer them to the clipboard as new source code - and the other is to simply play them back as you have listed.
This replaces the btn() function with my own. Include the 3-functions that + typing at the top of your code: _b0=btn and you are perfectly done. Nothing whatsoever else is needed. See the code below on usage: