'attempt to call method 'getDimensions' (a nil value)'
Posted: Fri Aug 21, 2015 3:07 pm
I don't know why it always gives me that error, here's the part of my code where the error happens:
I really have no idea why that happens, could someone please shed some light on why I get that error?
Code: Select all
wazmb.__TILE = {}
local tt = wazmb.__TILE
tt._TILE_SET_ = "gfx/tiles/tileset.png"
tt._TILESIZE = 32
tt.TILESETW, tt.TILESETH = tt._TILE_SET_:getDimensions()