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
81
votes
10 answers

NSURLErrorDomain error code -999 in iOS

I've been trying to use Corona SDK's Facebook API to post the score on the game I'm developing on facebook. However, I'm having a problem with it. During the first time I try to post to facebook, I get this error after login and user…
user1597438
  • 2,021
  • 4
  • 32
  • 74
78
votes
2 answers

Join tiles in Corona SDK into one word for a Breakout game grid?

I have a game project to re-implement Breakout. I want to display two words, each word on a line. They are joined by the bricks block. Inside, the top line is the first name, aligned left. The bottom line is the last name, aligned right. They are…
nguyentrungkien
  • 461
  • 4
  • 5
43
votes
4 answers

Load Lua-files by relative path

If I have a file structure like this: ./main.lua ./mylib/mylib.lua ./mylib/mylib-utils.lua ./mylib/mylib-helpers.lua ./mylib/mylib-other-stuff.lua From main.lua the file mylib.lua can be loaded with full path require('mylib.mylib'). But inside…
RocketR
  • 3,321
  • 2
  • 20
  • 34
40
votes
11 answers

Corona SDK free alternatives

I tried corona sdk free edition, i really liked it. The problem is, that im not so good developer to use corona paid edition for my small project, i'm aware that i'll not earn my money back. Are there any free alternatives, like Corona? I'd prefer…
artouiros
  • 3,815
  • 11
  • 36
  • 52
30
votes
5 answers

What to use for flow free-like game random level creation?

I need some advice. I'm developing a game similar to Flow Free wherein the gameboard is composed of a grid and colored dots, and the user has to connect the same colored dots together without overlapping other lines, and using up ALL the free spaces…
user1239714
  • 555
  • 1
  • 6
  • 15
22
votes
6 answers

Forward define a function in Lua?

How do I call a function that needs to be called from above its creation? I read something about forward declarations, but Google isn't being helpful in this case. What is the correct syntax for this?
Elliot Bonneville
  • 46,945
  • 19
  • 86
  • 120
22
votes
5 answers

Nancy (C#): How do I get my post data?

I'm using Corona SDK to post data to my C# server: headers["Content-Type"] = "application/x-www-form-urlencoded" headers["Accept-Language"] = "en-US" local body = "color=red&size=small" local params = {} params.headers = headers params.body =…
Westerlund.io
  • 2,351
  • 4
  • 22
  • 36
20
votes
9 answers

Beginning in Lua for Corona SDK

I have started working on Corona SDK.As you all know it uses Lua as the programming language,i wanted to know some good links or ebooks which i can refer to begin development.I am an iPhone developer and working on objective C since last 1 year. Any…
Aditya
  • 4,378
  • 5
  • 26
  • 40
16
votes
3 answers

How to get the file size and delete file in Lua?

I have problem in getting the size of the file using Lua. I am creating a function method that if the file size of the file is 743 bytes, then the file will be deleted. Here is my code : local getDLFile = function(fileToDL) local path =…
gadss
  • 18,755
  • 34
  • 96
  • 139
13
votes
1 answer

Lua - if statement with two conditions on the same variable?

How can I set a lower and upper bound value for a variable in a if-statement in lua programming language? I need something like the pseudocode below. if ("100000" >= my_variable <= "80000") then do stuff... end I've tried different formats but…
Mateus
  • 2,496
  • 5
  • 39
  • 61
13
votes
2 answers

Using IntelliJ IDE and Lua Programming Language to make Corona Applications

I have successfully installed: 1) IntelliJ IDEA 10.0.3 with Lua Plugin 2) Corona SDK 3) Corona API for IntelliJ I can now use autocompletion features of Lua and Corona using IntelliJ IDEA Now my problem is : When I try to run a sample main.lua…
Muhammad Shahab
  • 5,227
  • 4
  • 35
  • 47
13
votes
2 answers

Integrate an Android app (.apk) into an existing Android project

Here's the use case: A friend and I are building an Android app and along with it want to integrate a game. The core of the app has been built in Eclipse but we are looking into building the game with an app building tool like Google AppInventer…
Kyle Clegg
  • 36,212
  • 26
  • 127
  • 138
11
votes
2 answers

Corona SDK Cross Device Screen Resolution

This is going to be one of those awkward questions looking for an answer that probably doesn't exist, but here goes. I've been developing some simple games using Corona and whilst the functionality seems to work pretty well across most of the…
Alexander Holsgrove
  • 1,687
  • 3
  • 23
  • 51
11
votes
4 answers

Which is better for building a game, Corona SDK or Xcode?

I recently looked at Bubble Ball's website, and it says Built With Corona SDK. I've never heard of Corona, and, from what I read, it lets you create games for devices with very little code. I'm not convinced. Which should I go with? Xcode or Corona…
skippy_winks
  • 748
  • 3
  • 13
  • 30
10
votes
2 answers

How to install the libwebkitgtk package on Ubuntu 20.04 LTS?

So I am trying to install Solar2D (formerly known as Corona SDK) to make a mobile game. After installing the dependencies, when I run Solar 2D I get the following error: /home/user/CoronaSimulator/CoronaSimulator: error while loading shared…
Aniket Badole
  • 109
  • 1
  • 2
  • 3
1
2 3
99 100