Hi i’m learning the libGDX framework and i’m wondering is there some sort of intersects color method?
I have a Rectangle hitbox on a character and i want it to collide with everything but the floor and the floor will always be this constant color (brown) and everything else with be some other color red, green, blue, etc.
Any ideas on how i can achieve this would be great. Thanks!
Edit: is there anyway at all one can detect the color (of a background Texture) at any given vector on the screen?