This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Callback function to handle the upload events that are generated. | |
-- There will be several events: one to indicate the start and end of the | |
-- process and several to indicate the progress (depends on the file size). | |
-- Always test for your error conditions! | |
local function uploadListener( event ) | |
if ( event.isError ) then | |
print( "Network Error." ) | |
-- This is likely a time out or server being down. In other words, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local myText = display.newText( "Hello World", 200, 200, native.systemFont, 16 ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local function fireLasers() | |
local blaster = display.newImageRect("laserbeam.png", 8,24) | |
blaster.x = ship.x | |
blaster.y = ship.y | |
transition.to(blaster, {time=1000, y = 0 }) | |
end | |
local needToFire = false | |
local function handleEnterFrame( event ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
settings = { | |
plugins = | |
{ | |
["facebook"] = | |
{ | |
publisherId = "com.coronalabs" | |
}, | |
}, | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iphone = | |
{ | |
plist = | |
{ | |
CFBundleIconFile = "Icon.png", | |
CFBundleIconFiles = | |
{ | |
... -- see above | |
}, | |
UILaunchImages = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iphone = | |
{ | |
plist = | |
{ | |
CFBundleIconFile = "Icon.png", | |
CFBundleIconFiles = | |
{ | |
"Icon.png", | |
"[email protected]", | |
"Icon-60.png", |
NewerOlder