Log In  

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


Press Z/X to receive wisdom.

P#80515 2020-08-08 18:17 ( Edited 2020-08-08 18:26)

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)?

P#83521 2020-10-30 22:41

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. :)

P#83538 2020-10-31 10:03
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!

P#83799 2020-11-05 17:10 ( Edited 2020-11-05 17:10)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-18 15:37:29 | 0.011s | Q:20