Follow

I overused co routines in my last unity project so was a little scared of using them on PICO-8 but they are convenient for this game



· · Web · 2 · 0 · 8

@mario_afk Co-routines are a must in PICO-8 games.

Though in one PICO-8 game I put an entire turn-based strategy AI in a co-routine. All the pathfinding. All the battle decisions. All the unit construction decisions.

Needless to say, I became very acquainted with using countless `printh` statements for debugging.

@Lambdanaut It's simplifying my code a lot haha so maybe I will over use them again.

The only thing I miss from C# is the possibility to yield another co routine

@mario_afk yeah, godot has that too. I came from Pico-8 first and it blew my mind how spoiled I was when I could yield like that.

Sign in to participate in the conversation
Merveilles

Merveilles is a community project aimed at the establishment of new ways of speaking, seeing and organizing information — A culture that seeks augmentation through the arts of engineering and design. A warm welcome to any like-minded people who feel these ideals resonate with them.