Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Button_scoutReleased = function( event )
- print (" *** Scouting !!! *** ")
- Button_scout.isVisible = false
- Button_camp.isVisible = false
- Button_moveOn.isVisible = false
- local txt_inputInfo = display.newText( rosetta:getString ( "You scout the " ) .. _gameData.location .. "." , 0, 0, native.systemFontBold, 16)
- txt_inputInfo:setTextColor(225, 225, 225)
- txt_inputInfo.x = display.contentCenterX
- txt_inputInfo.y = _CY * 2.4
- gameGroup:insert( txt_inputInfo )
- local doneWithText = function ()
- txt_inputInfo:removeSelf()
- end
- transition.to( gameGroup.txt_inputInfo { 0, time=500, delay=1500, alpha=0, onComplete=doneWithText } )
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement