I'm wondering if you could add something like overlapping a certain colour? It would be quite a useful feature for hitboxes and such.
Hm, like overlay redux in MMF? That indeed would be nice to have...
What current problem with hitboxes would this solve?
It's generally expensive to try and retrieve the colour of a pixel somewhere on a texture and send it back to the CPU, so I think another solution would be best.
You could use color filters?
Develop games in your browser. Powerful, performant & highly capable.
put all your objects of that color in a family.
Red objects -> add them to the red family
blue objects -> add them to the green family (just to make people wonder)
green objects -> add them to the salt 'n pepa family!
Oh wow, a brand new family when you add red to blue....