Log In  


Cart #tylers_helpers-0 | 2025-08-13 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA


Hello all,

This is my first post on the BBS! Happy to be here.

I started making some helper utilities for myself, as I was starting to make a game I noticed that I needed a lot of scaffolding to get going with my vision.

I am hoping to expand upon this and make an entity component system for a zombie game I have in my head.

Anyways, here's a little cart I made with some helper functions.

I feel very strongly about staying within the PICO-8 system and using the editor tools, as I forces me to not nest functions too deeply.

Some of what's in the cart:

Some basic table operations I find myself doing on occasion (filter, transpose, etc)
Some coroutine wrappers and helpers; coloop can take a function and some items, and process in batches for instance
A unit test function, which really doesn't do anything at the moment except watch for an assertion and print "passed" if it passed
A pretty print table function, which does not print very pretty admittedly, still working on it.

I am sure many of these things have already been done before, but I wanted to put them all in one place.

Feel free to throw poo if the code is bad.

Honestly, looking for feedback, and better ways of doing stuff.

Thanks!




[Please log in to post a comment]