this is a short and simple problem:
This code works:
[lua]function scene:enterScene( event )
local group = self.view
shown.isVisible = true
--ShownImg.isVisible = true
ShownImgBorder.isVisible = true
if score ~= 0 then
score = 0
end
end
[/lua]
and this works:
[lua]function scene:enterScene( event )
local group = self.view
shown.isVisible = true
ShownImg.isVisible = true
--ShownImgBorder.isVisible = true
if score ~= 0 then
score = 0
end
end
[/lua]
and this also works:
[lua]function scene:enterScene( event )
local group = self.view
--shown.isVisible = true
ShownImg.isVisible = true
ShownImgBorder.isVisible = true
if score ~= 0 then
score = 0
end
end
[/lua]
but this doesn’t work for some reason…
[lua]function scene:enterScene( event )
local group = self.view
shown.isVisible = true
ShownImg.isVisible = true
ShownImgBorder.isVisible = true
if score ~= 0 then
score = 0
end
end
[/lua]
so i can call any of the 2 of them, but if i try 3 at once, ShownImg.isVisible = true does not work. I have tried rearranging the order of them to no avail.
any ideas?