Log In  


Alright so I have this example image that I need help learning how to compress and on how to compress things in the future

1


This is indeed 128x128. In the future, Scrub, you can highlight the image in PICO-8 and select CTRL-C.

Then CTRL-V direct in your message here.

Gimme a sec. Want to make this code as short and simple as I can ... here ya go.

Cart #wayofemigu-0 | 2019-09-10 | Code ▽ | Embed ▽ | No License

. . .

Way Of The Emigu ? A new alien race perhaps ?

BTW, to list all files in a directory, use "DIR *" It will list not only .P8 files but anything else you have there.

HOPE THIS HELPS !


So how does it work though? Thats what I'm really curious about


It's really straight-forward. Check the source-code.

In pico-8 type: LOAD #WAYOFEMIGU

It's merely reading the sprite memory data as bytes and stuffing it into a string as 2-character hex.

Then it use printh() command to save to clipboard.

To retrieve it, it reverses the process.

Nothing more mystical than that. :)



[Please log in to post a comment]