only dump state on return key

This commit is contained in:
~d6 2024-07-28 00:40:03 -04:00
parent 6b3da8fd6d
commit c6f9e03cbe
3 changed files with 6 additions and 2 deletions

View File

@ -61,6 +61,10 @@ lower screen resolution, such as the Nintendo DS.
That isn't a question. (Also, sorry!) That isn't a question. (Also, sorry!)
**Why did a bunch of weird numbers appeared in the console?**
Currently hitting *Return* will dump the internal state of the game for debugging purposes. This produces a lot of output but doesn't otherwise affect the game.
**Will you add support for my preferred solitaire variant?** **Will you add support for my preferred solitaire variant?**
Probably not, but maybe. Probably not, but maybe.

Binary file not shown.

View File

@ -5,7 +5,7 @@
( * automatically moving safe cards to foundation? ) ( * automatically moving safe cards to foundation? )
( * music? ) ( * music? )
( * save game file? stats? ) ( * save game file? stats? )
( * animations? ) ( * animations? flash stock when clicked? )
( * moving/drawing near boundaries is weird ) ( * moving/drawing near boundaries is weird )
( * sometimes movement feels stutter-y ) ( * sometimes movement feels stutter-y )
@ -578,7 +578,7 @@
&start POP !draw-cards ) &start POP !draw-cards )
@on-press ( -> ) @on-press ( -> )
dump-state .Controller/key DEI #0d NEQ ?{ dump-state JMP2r }
JMP2r JMP2r
( .Controller/button DEI ( button^ ) ( .Controller/button DEI ( button^ )
.prev/button LDZ #ff EOR AND ( press^ ) .prev/button LDZ #ff EOR AND ( press^ )