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
7
votes
2 answers

Corona SDK produced iPhone app size

I have built the following app for Corona SDK local hello = "hello"; print(hello); using iPhone as a target.. The final binary is staggering 8.7Mbytes.. This is a real problem when I try to deploy a complex application with multiple grfx…
Frank
  • 291
  • 1
  • 10
7
votes
5 answers

Corona LUA and OOP Design

So I come from the traditional game development that uses OOP principles and from what I've seen you can mimic this using LUA once you know what you are doing. In some of the code postings I found out how you can use the director class and create…
David Nelson
  • 752
  • 9
  • 26
7
votes
2 answers

How do I change the tableView library in Corona SDK for Retina Graphics

I am checking out Corona SDK and looking to adapt the Coffee Demo ( http://blog.anscamobile.com/2010/09/create-scrolling-list-views-with-text-and-graphics-in-coronasdk-ios-android-tutorial/ ) so that it uses the Retina Display @2x image…
Handloomweaver
  • 4,871
  • 7
  • 25
  • 33
7
votes
1 answer

Is it possible to type in Furigana (and Ruby characters) using Unicode?

I am currently making a Corona app where I would like to include Japanese text. For those of you who do not know, it appears that Japanese has multiple languages to write in text (Kanji, Hiragana, etc.). Furigana is a way to have Kanji characters…
JHowzer
  • 1,841
  • 1
  • 22
  • 26
7
votes
4 answers

Lua gmatch odd characters (Slovak alphabet)

I am trying to extract the characters from a string of a word in Slovak. For example, the word for "TURTLE" is "KORYTNAČKA". However, it skips over the "Č" character when I try to extract it from the string: local str = "KORYTNAČKA" for c in…
Omid Ahourai
  • 1,329
  • 2
  • 12
  • 18
7
votes
3 answers

Calling function from a different lua-file

I have this in menu.lua local db = require "databaseconnection" ... local function onEndBtnRelease() local thisandthat = db.getLoggedIn() native.showAlert( "Corona SDK", thisandthat.." teststring", { "OK" } ) end ... and this in…
Arthur
  • 73
  • 1
  • 6
7
votes
4 answers

Can I use Corona sdk for making non-game apps?

Can I use Corona http://www.coronalabs.com/products/corona-sdk/ for making non-game apps? I mean non-game application with a lot of buttons, tables, charts, reports,selects and so on. I need it to create-cross platform mobile application.
alexanoid
  • 19,599
  • 35
  • 160
  • 321
7
votes
2 answers

How do you install an APK file it build from corona sdk in the Android emulator?

I am a pro user of corona sdk. And I build apk file with my own keyStore file. In that apk does not install in the android emulator?
saravanan
  • 1,034
  • 1
  • 14
  • 28
6
votes
1 answer

Random number gen w/ seed acting non-deterministic

I have programmed for many years, and the issue I am presenting now is probably one of the strangest I have come across. There is a block of code in my app which randomly generates a sequence of tokens, with three possible types, let's say A, B or…
Alex Z
  • 2,310
  • 2
  • 16
  • 23
6
votes
4 answers

Is there a method to remove item from ScrollView widget?

Or can I get access an item after adding it to ScrollView widget? Example: local scrollView = widget.newScrollView {...} scrollView:insert(display.newImage("img1.png", 0, 0)) scrollView:insert(display.newImage("img2.png", 100, 0)) Next I want to…
6
votes
1 answer

How to get numbers to always display as two digits

I need to display a countdown that turns from 00:10 to 00:09 and not 00:9. How do I make sure that a given number displays with two digits without resorting to cumbersome if-statements?
Ravn
  • 213
  • 2
  • 11
6
votes
1 answer

Function creating in Lua

When I create the function by assigning ,"if" condition doesn't work but when I do create the function like in second example below, it works. Can you tell me why? Not working: local start=os.time() local countDown = function(event) …
Figen Güngör
  • 10,407
  • 11
  • 56
  • 101
6
votes
2 answers

How do I create a Loading screen in Corona SDK?

My game is High Definition, and I use a lot of HD images and spritesheets, taking up a LOT of texture memory. The result is that I get an ugly black screen before my Scene loads, spaning for some seconds. So I want to make a loading screen. Actually…
user2347313
  • 131
  • 2
  • 11
6
votes
1 answer

LUA and Corona error: Attempt To Call Method ' ' (A Nil Value) - Driving Me Crazy

I would ask your help for an error that is driving me crazy. Ohh... I'm using LUA with Corona SDK btw... I am creating an instance of a ship. The ship is being instantiated, I can access its properties, but I can not access any method!! Follow the…
6
votes
2 answers

Starting with Corona Enterprise Plugin Development

I need to integrate a third party Java library which has come with a .jar with a Corona app. I am developing an Android app, and I have Corona Enterprise. I have been referring to this doc to create a plugin for Corona, but so far can't understand…
Aman Alam
  • 11,075
  • 7
  • 41
  • 80