Log In  


Cart #cosmic_wisdom-0 | 2020-08-08 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
9


Press Z/X to receive wisdom.

9


1

Really nice glyphs!

Are the sprites in tab 2 used to select a colour palette? How does that work (basic idea, not full code)?


Thanks!

Yep, you're exactly right: these are color palette sprites. Basically, I just sample the color values of some specific pixels in the sprite using the built-in function sget() , and use these when I'm drawing the background and the glyphs. Most of the pixels you see in each color palette sprite are actually redundant—I just drew them that way to get a better feel for how the color scheme would look like at runtime.

If you want to look at the code after all, get_colors() is the relevant function.

Also it made my day that someone found my goofy little pico-8 toy interesting enough to crack the cart open and peek inside. :)


1

Yes I really love the results so I checked under the hood! They look great and not the same as the characters in Zelda or Fuz (the pico-8 demake of Fez). Some day I may use your technique to create atmosphere (or even real messages?) in a game! I’d be curious to try adding more round shapes in that.

Cheers!



[Please log in to post a comment]