Exercising the logic muscles

There is a path here

I’ve been playing more with level generation in SPADE. I dug up a link to Darius Kazemi’s excellent explanation of how the levels are made in Spelunky and have got the path generation replicated in some rough and tumble pico-8 code.

This took me longer than I would have liked. To be fair on myself I did most of the implementation at my daughter’s dance classes over the weekend, without internet, without a debugger, and with the distractions of a dance studio. Still, my logic muscles are somewhat atrophied.

Last night I finally googled ‘pico-8 debugger’ and found out about the printh() function and how to view the output in DebugView. Thirty minutes of reading my game’s output tonight and things are looking much better.

Debug output showing where I’ve gone wrong