Questions tagged [coronasdk]

Corona is a mobile development framework for creating high-performance, multimedia-rich applications, games, eBooks etc. for Windows, macOS, Apple (iPhone, iPad, ...), Android devices and HTML5.

Corona is a software development kit created by Walter Luh, co-founder of Ansca Mobile (Now known as Corona Labs Inc). It allows software programmers to build mobile applications for the iPhone, iPad, and Android devices and Kindle Fire.

Corona lets developers use integrated Lua, layered on top of C++/OpenGL, to build graphically rich applications that are also lightweight in size and quick in development time. The SDK does not charge per-app royalty or impose any branding requirement, apart from a payment of $99 per year to remove a splash screen, and has a subscription-based purchase model that allows new features to be rolled out immediately to users. For example $199 per year for an Admob plugin.

Corona is moving to an open source model.

Major features

The SDK exposes features such as audio and graphics, cryptography, networking, as well as device information such as accelerometer information, GPS, and user input.

Why use Corona?

  • Easy to learn
  • Publish to major platforms
  • Windows and macOS support
  • Build apps for Apple TV and Android TV too!
  • Real-time testing
  • Built in-monetization

Latest SDK Build

Documentations

References

Supporting Platforms

  • iOS
  • tvOS
  • macOS
  • Android (including Android TV)
  • Kindle
  • Windows x86
  • HTML5

Popular IDEs

3147 questions
10
votes
3 answers

Instagram "You Cannot Like this Media"

I am aware that the Instagram API was down a few hours ago, but it seems to be back up now. The problem is, when we post data to Instagram saying to like a specific photo, we get this error:…
Jordan Schuetz
  • 928
  • 1
  • 9
  • 19
10
votes
1 answer

How to support IOS6 and IOS7 app icons and launch images in the same app?

How to support IOS6 and IOS7 app icons and launch images in the same app? I have noted IOS7 has new Icon sizes pere here, however it's not clear to me how you would best ensure IOS 6 and IOS 7 devices are supported? So how would you do this,…
Greg
  • 31,898
  • 75
  • 232
  • 424
9
votes
5 answers

method for serializing lua tables

I may have missed this, but is there a built-in method for serializing/deserializing lua tables to text files and vice versa? I had a pair of methods in place to do this on a lua table with fixed format (e.g. 3 columns of data with 5 rows). Is…
cctan
  • 1,977
  • 3
  • 18
  • 28
9
votes
2 answers

Position of the Sun (azimuth) in Lua

There is only one function in LUA I could find online, but it gives wrong values (measured with professional online tools). It appears that from the sunrise till some time after the noon the math works, but after, the Sun's angle goes back to the…
Edi Budimilic
  • 3,609
  • 2
  • 16
  • 20
9
votes
1 answer

Get file name from URL using Lua

How do I get the file name from a URL using Lua string manipulations. I have this url https://thisisarandomsite.com/some_dir/src/blah/blah/7fd34a0945b036685bbd6cc2583a5c30.jpg And I want to get the 7fd34a0945b036685bbd6cc2583a5c30.jpg, it can be a…
NaviRamyle
  • 3,827
  • 1
  • 28
  • 49
9
votes
1 answer

Object assignment Lua

I have a problem similar to this one: LUA and Corona error: Attempt To Call Method ' ' (A Nil Value) - Driving Me Crazy I have a TCell class: local TCell={}; local cell_mt = { __index=TCell }; function TCell.new(_contents_name,_x,_y) ... …
user2136963
  • 2,310
  • 2
  • 18
  • 38
8
votes
2 answers

Could I extend Corona with native code?

I have some function module written in Objective-c, could i wrap the objective-C by C++, then integrate C/C++ code with Lua using toLua++, then using the lua code in Corona? Could i do that? It seems impossible...
timestee
  • 1,018
  • 12
  • 36
8
votes
2 answers

In Lua, how can I tell if a number divides evenly into another number?

In Lua, how can I tell if a number divides evenly into another number? i.e with no remainder? I'm just looking for a boolean true or false. 12/6 = 2 (true) 18/6 = 3 (true) 20/6 = 3.(3) (false)
Scott Phillips
  • 103
  • 1
  • 1
  • 5
8
votes
1 answer

Why is my event handler not allowing me to access event.target?

I'm setting up an inventory management system in a new Corona game. I'm testing the initial setup by creating a sample displayObject in a scene and then changing the visibility of that object on tap. The simulator throws me an error when I try, it…
kristinalustig
  • 283
  • 1
  • 3
  • 7
8
votes
3 answers

How to have multiple Lua files when working with Corona SDK?

I am new to developing with the Corona SDK as well as Lua. Currently i work strictly with the main.lua file. Is there any way in Lua (im sure there is) to break up the source code into logical, separate files? Example: 1. Main.lua 2. Entity.lua 3.…
AlvinfromDiaspar
  • 5,868
  • 13
  • 63
  • 120
8
votes
1 answer

Corona sdk display multi line notification

I have some notifications in Corona. The problem is, the text is too big, and I would need to show bigger (multi line) notifications, like the Gmail app, for example. Here is what the notifications look like now: Here is my code: local…
Serban Stoenescu
  • 1,538
  • 2
  • 15
  • 36
8
votes
2 answers

Corona: Attempt to concatenate global 'sceneName'

I have this code: local storyboard = require "storyboard" local options = { effect = "slideLeft", time = 800 } storyboard.gotoScene( "scene1", options ) In the same directory I have a file named "scene1.lua", but console reports this…
Xose
  • 524
  • 1
  • 4
  • 12
8
votes
4 answers

Lua Editor for Corona SDK (Eclipse Indigo Plugin)

Can anyone suggest a good editor to use with Lua scripting specifically for the Corona SDK or aid me with an error I'm having trying to install the eclipse plugin. I would like to use Eclipse Indigo (64bit) preferably but I've had problems with the…
SmashCode
  • 3,912
  • 7
  • 34
  • 53
7
votes
7 answers

Reloading screen in corona

I am developing an application in corona where I need to reload the same screen again and again.I don't have any idea as how to do it,Can anybody explain me this with a code
Vivek Kalkur
  • 2,176
  • 2
  • 19
  • 40
7
votes
6 answers

Corona performance?

I and my team are developing a game using corona sdk, our game is supposed to work on both iphone and android devices. When testing with android sdk 2.2 the performance seems to be poor, although we are following all the memory management steps and…
Israa.Kh
  • 81
  • 1
  • 4