This file contains 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 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", | |
"Icon@2x.png", | |
"Icon-60.png", |
This file contains 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 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 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 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net; | |
using System.Windows; | |
using System.Windows.Controls; | |
using System.Windows.Navigation; | |
using Microsoft.Phone.Controls; | |
using Microsoft.Phone.Shell; |
This file contains 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
string username = string.Empty; | |
var boxedUsername = e.Properties.Get("username") as CoronaLabs.Corona.WinRT.CoronaBoxedString; | |
if (boxedUsername != null) | |
{ | |
username = boxedUsername.ToString(); | |
} |
This file contains 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
private void OnCoronaRuntimeLoaded( | |
object sender, CoronaLabs.Corona.WinRT.CoronaRuntimeEventArgs e) | |
{ | |
// Keep a reference to the Corona runtime environment. | |
// It's needed so that your login window's results can be dispatched to Corona. | |
fCoronaRuntimeEnvironment = e.CoronaRuntimeEnvironment; | |
fCoronaRuntimeEnvironment.AddEventListener("requestingLogin", OnRequestingLogin); | |
} |
This file contains 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
fCoronaPanel.Runtime.Loaded += OnCoronaRuntimeLoaded; | |
fCoronaPanel.Runtime.Terminating += OnCoronaRuntimeExiting; |
This file contains 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
-- | |
-- Abstract: Hello World sample app. | |
-- | |
-- Version: 1.2 | |
-- | |
-- Sample code is MIT licensed | |
-- Copyright (C) 2014 Corona Labs Inc. All Rights Reserved. | |
-- | |
-- Supports Graphics 2.0 | |
------------------------------------------------------------ |
OlderNewer