代碼:
-- 點擊函式封裝
function click(x, y)
touchDown(0, x, y)
mSleep(100)
touchUp(0)
end
阿
UI = {
{ 'TextView{-填寫要輪流發的話-}' },
{ 'InputBox{}', 'name1', '內容1:' },
}
-- 主入口函式
function main()
notifyMessage(name1,5000)
mSleep(3000)
notifyMessage("尊敬的用戶你好,你的余額已不足請充值 \n 編輯'#'按鍵,發送到10086,謝謝。 \n "..os.date("%M/%D/%Y-%H:%M:%S"),50000)
mSleep(2000)
end
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/75752.html
標籤:Cocos2d-x
