Log In  


Cart #inlineimg-0 | 2025-02-20 | Embed ▽ | License: CC4-BY-NC-SA
3

You can print inline images (one off characters) using an escape code (\^:<character>). For example, \^:447cb67c3e7f0106 will print a cat.

The format is 8 bytes in hexadecimal representing a row, and each bit representing a column, for a 8x8 monochrome image. However, writing it out by hand is obviously a pain. I found some editors for Pico8 (https://www.lexaloffle.com/bbs/?tid=50298), but I couldn't find one for Picotron. So I made one.

There is a 8x8 grid of tiles, representing the image. Clicking a tile inverts it. The escape code and character preview are shown at the bottom of the window.

Ctrl+V to paste an image from clipboard and load it into the editor
Ctrl+C to copy the image in hexadecimal format
Ctrl+B to copy the image in binary format.

The binary escape code is supposed to be more compact. However, it contains unprintable characters, so it needs to be escaped if you want to put it in your code. Once escaped, it's often less compact than the hexadecimal escape code.

https://pico-8.fandom.com/wiki/P8SCII_Control_Codes#Drawing_one-off_characters

3



[Please log in to post a comment]