Hello,
I have very strange issue and I need your help.
In Corona simulator when I click “Koupit” button the “coinShopScene” appears. Screenshot is here:
http://i.imgur.com/1VQK5kG.jpg
And when I click on this button on any Android device (Samsung S6, HTC M9) nothing happens.
function searchLetterButton:touchBegan() searchLetterButton:setFillColor(.7, .7, .7); end function searchLetterButton:touchEnded() searchLetterButton:setFillColor(1, 1, 1); local listener = function(event) if event.index == 1 then local currentCoins = ragdogLib.getSaveValue("currentCoins") or 0; if currentCoins \>= \_G.costOfHintLetters then local currentRevealedLetters = ragdogLib.getSaveValue(currentLevel.id.."revealedLetters") or 0; currentRevealedLetters = currentRevealedLetters+1; ragdogLib.setSaveValue(currentLevel.id.."revealedLetters", currentRevealedLetters); currentCoins = currentCoins-\_G.costOfHintLetters; ragdogLib.setSaveValue("currentCoins", currentCoins, true); emptySpacesTab:revealLetter(); else local subListener = function(event) if event.index == 1 then composer.showOverlay("coinShopScene"); end end if not \_G.allowCoinPurchaseThroughIAP then native.showAlert("Nákup", "Nemáte dostatek mincí.", {"Ok"}); else native.showAlert("Nákup", "Nemáte dostatek mincí.", {"Koupit", "Ok"}, subListener); end end end
I have no idea what could be wrong. Thank you!