Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function scene:enterScene( event )
- print( "1: enterScene event" )
- storyboard.removeScene( "scene_maps" )
- -- Update Lua memory text display
- local showMem = function()
- text3.isVisible = true
- text2.text = text2.text .. collectgarbage("count")/1000 .. "MB"
- text2.x = display.contentWidth * 0.5
- end
- local memTimer = timer.performWithDelay( 100, showMem, 1 )
- end
Advertisement
Add Comment
Please, Sign In to add comment