Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

I haven't done enough PICO-8 to have enough of a sense of how I really feel about tokens. It's part of the whole constraint philosophy, and I do appreciate that you can name things a bit better because you're not totally constrained only on characters (although I do find myself using a lot of short and semi-cryptic variable names). But some of the things that take up tokens just go against a lot of how I personally feel about good code.

Like you pointed out, getting rid of objects and dumping things in the global namespace can save tokens, and sometimes a lot of tokens depending on how much you repeat. But ugggghhhhhh.

Yeah I'm of two minds about it as well. I think the token constraint is a crucial aspect of Pico-8's design. It discourages feature creep and encourages a shipping mentality. But when you're at the token limit and you need to fix a bug or make a tweak, there's nothing stopping you from golfing just a few more tokens, until your code is an unmaintainable mess and and you realize that if you do it wrong, Pico-8 is actually harder and less fun to use than an ordinary game engine.