It looks like you're new here. If you want to get involved, click one of these buttons!
local function scaleTextsAndBtn() local tempFontScale=1.02 Core.yield(.2) txt1_noads:setScale(tempFontScale) Core.yield(.1) txt1_noads:setScale(1) txt2_plusincome:setScale(tempFontScale) Core.yield(.1) txt2_plusincome:setScale(1) txt3_instantgift:setScale(tempFontScale) Core.yield(.1) txt3_instantgift:setScale(1) txt4_dailyreward:setScale(tempFontScale) --scene may need to be closed somewhere here, and if it's closed, function naturally crashes Core.yield(.1) txt4_dailyreward:setScale(1) Core.yield(.1) btn_OK:setScale(1.04) Core.yield(.2) btn_OK:setScale(1) end Core.asyncCall(scaleTextsAndBtn) |
Comments
Likes: MoKaLux, antix
Likes: MoKaLux
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)