Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
TileMap always returns 0 for getWidth() and getHeight() — Gideros Forum

TileMap always returns 0 for getWidth() and getHeight()

brendanhbrendanh Member
edited May 2012 in Bugs and issues
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().
Tagged:

Comments

Sign In or Register to comment.