Can detect when facing or near sprite

also can identify sprites, so you can distinguish between them by using
the sprite ID

fixed a latent issue with the facingcoords in tilemap