Looking within the birds.p64 demo:
-- draw mask -- display pixels that have one of these bits set are drawn -- 0 means draw all pixels poke(0x547d, 0b00111111) |
For a windowed app, this poke means that black (0x0) is not drawn to the screen at all. If we use cls(0)
at the top of _draw()
, then our entire background is effectively transparent, though the underlying color at those pixels is still 0. if we use a custom color table, gfx ops over the background will consider the "target color" to be 0 as well.
Is there a way to use the underlying desktop pixels as the target instead? This could be used to create some fun effects on the desktop: i'm imagining translucent windows, sophisticated shadows, additive blending...
inspired by this image
RAINBOW
A collection of doodles i've created,
wrapped in a little menu where you select which one you wanna see.
I thought it was too much work to upload ~12 carts separately,
so i cobbled and compiled this together, with little concern for token limits.
CONTROLS
This supports keyboard and mouse controls to navigate...
while on SELECT MENU:
- UP / DOWN - select option
- RIGHT-ARROW / LEFT-CLICK - confirm
while viewing a DOODLE:
- LEFT-ARROW / RIGHT-CLICK - go back to menu
You can also do
ENTER > GO BACK TO MENU
to return to the select menu at any time.