Log In  
[ :: Read More :: ]

I can never resist an opportunity to mess around with regular expressions, so here's my attempt at a code minimizing script.


If you already have perl installed, you just need to run 'perl minimize.pl yourcode.p8'. It will output the minimized code to 'yourcode_min.p8". Token mappings are also saved as 'yourcode tokens.txt' to make debugging easier. I've only tested it with my game and a few random carts. Let me know if it doesn't work on your code, I'm sure there are a couple obscure reserved words and odd failure conditions I've missed.

P#43919 2017-09-04 14:39 ( Edited 2017-09-07 03:52)

[ :: Read More :: ]

Cart #44406 | 2017-09-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Cart #43824 | 2017-09-01 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Phantasos is a fairly traditional tiled roguelike, heavily inspired by Powder. The game is by no means complete, but I've gotten it to the point where it's fun and stable enough for now. Fighting the token limit has been more fun than I expected, so I'll probably keep cramming in extra features until it's exactly at the limit and I can't find anything else to optimize.

P#43825 2017-09-01 02:23 ( Edited 2017-09-21 05:33)

[ :: Read More :: ]

Cart #43401 | 2017-08-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

I've been working on this rogelike for about a month now, and I figured I should post it now that I've finally gotten it under the compressed size limit. If anyone's interested I will share the unreduced code, otherwise I'll post that when I'm done with this project.

P#43402 2017-08-18 13:51 ( Edited 2017-08-20 15:26)