Closed Quedex closed 11 years ago
I added an object to my map, using the example you posted on the MOAI forum:
local objectGroup = tileMap:findMapLayerByName("Object") local object = objectGroup:createObject({ name = "Enemy", type = "Actor", shape = "rectangle", x = 192, y = 448, width = 0, height = 0, gid = 538, visible = true, properties = { ["playAnim"] = "walkDown" } })
However, setting visible = false has no effect. The object still shows up on the map. A bug?
visible = false
Thank you. Is a bug. I fix soon.
Fixed. Incidentally, if you use the latest build, change to inherit visible.
I added an object to my map, using the example you posted on the MOAI forum:
However, setting
visible = false
has no effect. The object still shows up on the map. A bug?