Love the detailed by adding some shadow. I guess it's used somehow "secret" pico-8 color pal ? Glad we can made a cool nokia/gameboy feeling out of pico-8 game.
Well, I actually don't have a less-minified version, as I usually code my small projects directly in condensed form. I can give you some info on how things work, though. There's a string at the beginning:, ?"⁶1⁶c6⁶!5f10+⬅️5✽●6⌂3", which activates the secret palette colors. Basically, the question mark is a condensed print command, '⁶1⁶c6" replaces the flip() and cls() commands, and "⁶!5f10" functions as a poke command to hex address 5f10. The symbols that follow are the values that colors 0,1,2,3.... are assigned. The bezel is drawn using the reversed shape feature in Pico-8 0.2.6, which is activated here by another poke command in a string. If you haven't, I'd recommend looking up and reading about P8SCII control codes, which can do all kinds of useful things in a small space. Some of the required symbols are tricky to print out, so I made a little tool that makes that part easy, you can find it here: https://www.lexaloffle.com/bbs/?tid=40525
Thanks for the insight. Yes I see everyone looks to used this ?"" print stuff. But I really don't get why with ⁶ it will execute some function somehow ? The manual don't look to talk about that :) I've checked a little, ord(⁶) give me 6, that why it's not appear on your tool I guess? (start at 16). (Very useful tool by the way, specially when using vs code)
The little 6 is a single-character substitute for "\^", which is a common control code. Zep didn't necessarily make all the shortcuts like that very obvious. I actually included characters 0-15 in the tool, they're just in the code as comments and you can copy and paste them, since they're not printable in a running program.
Ok I get the doc is split in two on fandom https://pico-8.fandom.com/wiki/P8SCII make me realise that we can save an extra char when play sound : ?"⁷e6" instead of ?"\ae6"
Also yes indeed that made them not printable :) (which it's sad because the glyph looks cool) I'll download the cart then.
← Return to game
Comments
Log in with itch.io to leave a comment.
Love the detailed by adding some shadow. I guess it's used somehow "secret" pico-8 color pal ? Glad we can made a cool nokia/gameboy feeling out of pico-8 game.
Any luck you can share a less minify version ?
Well, I actually don't have a less-minified version, as I usually code my small projects directly in condensed form. I can give you some info on how things work, though. There's a string at the beginning:, ?"⁶1⁶c6⁶!5f10+⬅️5✽●6⌂3", which activates the secret palette colors. Basically, the question mark is a condensed print command, '⁶1⁶c6" replaces the flip() and cls() commands, and "⁶!5f10" functions as a poke command to hex address 5f10. The symbols that follow are the values that colors 0,1,2,3.... are assigned. The bezel is drawn using the reversed shape feature in Pico-8 0.2.6, which is activated here by another poke command in a string. If you haven't, I'd recommend looking up and reading about P8SCII control codes, which can do all kinds of useful things in a small space. Some of the required symbols are tricky to print out, so I made a little tool that makes that part easy, you can find it here: https://www.lexaloffle.com/bbs/?tid=40525
Thanks for the insight. Yes I see everyone looks to used this ?"" print stuff. But I really don't get why with ⁶ it will execute some function somehow ? The manual don't look to talk about that :)
I've checked a little, ord(⁶) give me 6, that why it's not appear on your tool I guess? (start at 16). (Very useful tool by the way, specially when using vs code)
The little 6 is a single-character substitute for "\^", which is a common control code. Zep didn't necessarily make all the shortcuts like that very obvious. I actually included characters 0-15 in the tool, they're just in the code as comments and you can copy and paste them, since they're not printable in a running program.
Ok I get the doc is split in two on fandom https://pico-8.fandom.com/wiki/P8SCII make me realise that we can save an extra char when play sound :
?"⁷e6" instead of ?"\ae6"
Also yes indeed that made them not printable :) (which it's sad because the glyph looks cool) I'll download the cart then.
Crazy how much new stuff I've learned studying this code. Thanks a lot's for sharing this!
The only thing I don't get is the math behind setting the correct position of a bloc, including a "tore" effect.
I'll kept that for another day :)edit : Ok I get it, really clever and cool to avoid using a 2d arrays.
Also in pico8??? awesome
my high score is 240, awesome stuff man
Thanks,
I made a tweetcart version of snake some time ago, and I figued this gave me enough room to fancy it up a little. Glad you like it!