TO LOAD THIS PICO-8 CART, in immediate mode, type:
Another interesting effect I have seen in some games is what I call The Pixular Effect.
It appears like this:
In the code above Use the LEFT and RIGHT arrow keys to animate from no Pixular at zero to full Pixular at 15 and at a reasonable rate.
Use the 🅾️ and ❎ to see it running maximum speed.
I thought it was a perfect effect to show someone losing consciousness though I have seen it in other places as a kind of screen-fade and warping from one place to another.
Well I sat down with the code this morning and started to experiment, trying to recreate it. And I think I have.
Examine the code carefully and you will see how it is done, and yes, this works without requiring you to redraw the screen and uses the standard _init() and _update() functions.
It does require use of memory 0xE000-0xFFFF so as not to interfere with your current display should you turn it off.
Thanks, @Kowalik_13 !
I hope I wrote it easy enough others can make use of it in their own code. There are a few other effects I had in my earlier S2 I need to put out here, but I'm done coding for today.
And yes, for those wondering about that biggo print statement up there, that is just the sample picture to work with. Go HERE:
To see how it's done and use the tool there to make your own pictures.
Thanks for your interest !
[Please log in to post a comment]