totally agree with the bjadams picture.
For me now, GetSpriteHit works fine but ONLY on
windows in 1072 (it didn't work in 1071 at all). (i have not tried the MacOS Player version for the moment).
But i have recompiled the Android Player and the iOS Player 1072... and GetSpriteHit
isn't fixed (none of both)... even with a SetSortCreated(1). I'm using dynamic sprites with world coords and scrolling etc... i have not tested fixed sprites.
I only want to get the top-most sprite ... the FIRST visible ! the one which is FRONT of our eyes !
(i think users usually won't want a sprite that they don't see no ? except special cases like level editors ..)
I see Two functionnalities :
- GetSpriteHit(x,y) : Return the "TopMost" Sprite ID we've touched or clicked (as before !).
- GetSpritesAtXY(x,y) : Returns an array or object of all levels of sprites present at x,y with their associated depths :p