Made this little cart as I was working through coding a look-at type function. Wanted to post it in case it's helpful for someone.
This type of functionality is useful for all sorts of things. Maybe you just want one character to look at another or a gun barrel to follow the cursor etc.
I was wondering if anyone might know how to make an alpha mask like you might do in After Effects. A good example that I've been trying to replicate with no success is the classic Star Wars transition where you have a circle that gradually gets smaller, until the screen is black.
I know that I can draw a black rectangle and a circle, then scale the circle down but I cant figure out how to cut the circle from the rectangle to create the mask.
I hope I'm making sense.. it would basically be a black rectangle with a scalable transparent circle in the middle that cuts through the black revealing whatever is drawn onto the screen below it.
Any help would be much appreciated. Thanks!!
So I'm new to Pico-8 and really enjoying it so far. I'm trying to get tile collisions working on a scrolling background but just can't seem to figure it out. Here's what I have so far. Any help would be appreciated. Thanks!!