I'm trying to achieve the effect in this image, where the player sprite (in this example, the leaf) is a black and white image. When it's against a white background, it's black. When it moves over a black background, it inverses to white.
I haven't really had any luck mucking about with the blend modes or effects. I don't seem to understand what they are doing. Thoughts?
example image: