I've just started using TileMaps, and they render fine, but I want to collect events on them, and tilemap:hitTestPoint(x,y) always returns false. After a bit of digging, I discovered that tilemap:getWidth() and tilemap:getHeight() are always returning 0, so I guess this is affecting the bounds calculation for hitTestPoint().
Comments
When i look at the reference docs there is no mention of hitTestPoint, getWidth and getHeight I must be missing something!
Cheers
Gary
Likes: Garyk1968