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
| application = | |
| { | |
| content = | |
| { | |
| scale = "adaptive", | |
| fps = 60, | |
| imageSuffix = | |
| { | |
| ["@2x"] = 1.5, |
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 = | |
| { | |
| orientation = | |
| { | |
| default = "portrait", | |
| supported = { "portrait" } | |
| }, | |
| iphone = | |
| { | |
| plist = |
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
| -- #coronasdk | |
| print( "hello" ) |
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
| <uses-feature android:glEsVersion="0x00020000"/> |
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 onWebViewEvent(event) | |
| if "loaded" == event.type then | |
| print("Finished loading: ", event.url ) | |
| end | |
| end | |
| local webView = native.newWebView( 0, 0, 500, 400 ) | |
| webView:addEventListener("urlRequest", onWebViewEvent) | |
| webView:request("http://www.coronalabs.com") |
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 = | |
| { | |
| orientation = | |
| { | |
| default = "landscapeRight", | |
| supported = | |
| { | |
| "landscapeRight", | |
| "landscapeLeft", | |
| }, |
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
| -- Workaround for Nook HD bug | |
| local listener = function( event ) | |
| if "applicationResume" == event.type then | |
| display.currentStage.alpha = 0.9 | |
| -- Force invalidate 1 second after resume | |
| timer.performWithDelay( 1000, function() | |
| display.currentStage.alpha = 1.0 | |
| end) | |
| end |
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 = { | |
| iphone = | |
| { | |
| plist = | |
| { | |
| CFBundleIconFile = "Icon.png", | |
| CFBundleIconFiles = { | |
| "Icon.png", | |
| "[email protected]", | |
| "Icon-72.png", |
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 isTall = ( "iPhone" == system.getInfo( "model" ) ) and ( display.pixelHeight > 960 ) |
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!", 0, 0, native.systemFont, 40 ) | |
| myText.x = display.contentWidth * 0.5 | |
| myText.y = display.contentWidth * 0.25 | |
| local g = graphics.newGradient( { 255, 255, 0 }, { 200 }, "down" ) | |
| myText:setTextColor( g ) |
NewerOlder