cs765885 cs765885 loading
I'm working on a project where I have a large map, and I want to recognize and locate where certain patterns or sections within that map are.

Could I make a smaller sprite (like a cut out section) that resembles the part on the map that I want to locate, and then have it somehow detect its position within the map, essentially finding its location on the map? Maybe by moving the sprite around until it detects that the part of the map it is touching matches with itself perfectly? Or could I scan for a certain array of pixel colors that match the section I want to locate? How could I get this to work?