Don't "register" the sprites in tiles. Instead create a linked list or array
of all the sprites with their location (in pixels or tiles). Since each
sprite is a rectangle (with some of the pixels turned transparent), you can
easily check if the mouse cursor is on a sprite. BTW, what do you mean by
tile based game? Almost all 2D games are "tile based", but a tile based
side scroller is totally differet from a tile based RPG.
--
+------------------------------------------------------+
| "Fumbling in frustration, inside soul torn apart |
| Feel the loss of paradise, leave an empty heart |
| Closing eyes will shut out, the warm light of a life |
| Grip is fading slowly, for each day passing by" |
| - Desultory, "A Closing Eye" |
+------------------------------------------------------+
| Rainer Deyke (rai...@mdddhd.fc.hp.com) |
+------------------------------------------------------+