Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Shaders sounds like the right way to do it, but since I am not very skilled with them (and also it is a jam piece, so there are really not many benefits to doing things the right way), I would probably just get the position of the mouse on the screen, raycast from there to find out if the cursor is over the cloud and if yes then swap the sprite for the white one. Seems like the easiest way to do it:)

Another way maybe would be to give it an outline/drop shadow with that second color that you are using, that way it would be never completely lost.