All source can be compiled with Blitz Basic 2 - I suggest Ultimate Blitz Basic 2.1.
I also suggest the VSCode Blitz Basic Extension to type code, run code and package code for floppy, harddisk, CDTV and CD32 (Disclaimer : I am a contributor of the plugin).
Simple example using the copper to generate a vertical rainbow behind a bitmap. The rainbow can use color not in the palette (You get extra color).
2 bitmaps with 3 bitplans (8 colors each).
Foreground bitmap using 0 to 7 palette.
Background bitmap using 8 to 15 palette.
Inpired from the trick from Agony game for the rain effect : https://codetapper.com/amiga/sprite-tricks/agony/
Using code from previous step to add a sprite multiplexing using Copper based on @earok code.
Limitation is I didn't figure out how to get this effect with the copper rainbow background.
Required to have BB2OBJTYPES.RES in resident libs in compiler Option
Same as 3 but in 4 color sprites so up to 7 sprites per line (last channel is for smooth scrolling).
Required to have BB2OBJTYPES.RES in resident libs in compiler Option
Inpired from the trick from Agony game for the rain effect : https://codetapper.com/amiga/sprite-tricks/agony/
Using CustomSprites instruction for Blitz Basic 2.
Limitation is I didn't figure out how to get this effect with the copper rainbow background. (Still using copper)