credit to nintendo for the wood tile sprite i think (i got it from griffpatch's tutorial project) i was following grifpatch's scrolling tile platformer and part way through decided to make there be rainbows essentially as the tiles are being cloned from left to right, the sprite is changing it's colour by 1 creating a gradient and is assigning a random brightness to each clone. Then each clone is one a loop where it changes its colour by one to create this cool wave effect.