I am getting "Fatal Exception: com.giderosmobile.android.player.LuaException: Invalid font size." crash report. But it doesnt happen on every sessions. Randomly, it crashes the app even if the font size is valid.
you can use sprite:setScaleX( sprite:getScaleX()*-1) to flip vertical or you can use sprite:setScaleY( sprite:getScaleY()*-1) to flip horizontally. However, you should be careful when positioning because anchorpoint will flip aswell.
Hi, Can you try this?
local count = 0
for i=1,self:getNumChildren() do
count = count + self:getChildAt(i):getCascadeChildrenCount() + 1