This guide will help you get up and running with Corona for Windows.
You do not need to install the Android SDK to use Corona. However, to create device builds to test on actual Android devices, you will need the Java Development Kit. The installation process is described below.
We'll assume you've already downloaded Corona. Now, double click the
.msi installer file and follow the steps in the installation wizard.
There are two ways to stay current with releases/builds of Corona:
In order to use Corona, you must be connected to the Internet and perform a simple
Open the Corona Simulator from the folder where you installed it. The first time you launch, you will be presented with a
If you've already registered for a Corona account, simply enter your account
Installing Corona lets you create and test apps locally on your PC. If you intend to build apps for testing on Android devices, you will need to install the
You'll need a text editor or IDE to write code for your Corona projects. If you don't already have a favorite text editor, the following options are recommended:
|Visual Studio Code||Corona Tools|
|Sublime Text||Corona Editor|
The Corona development environment consists of two aspects: the Corona Simulator and the Corona Simulator Console window.
The Corona Simulator is a visual representation and test environment for your app. What you see in the Simulator is generally what your app will look like — and how it will function — when deployed to an actual device. The Corona Simulator is an essential tool because it allows you to view changes to your code instantly in an active, responsive environment that closely mimics the device.
The Corona Simulator Console is where you can view diagnostic messages about what's happening in your program. This window is automatically displayed when you launch the Corona Simulator.
The Corona Simulator for Windows features the following basic menu items:
The File menu is where projects (applications) are created or opened. This is also where you build your apps for distribution or testing on devices. Finally, this menu provides access to the Simulator Preferences.
The Hardware menu is used to simulate physical device actions such as rotating the screen.
The View menu lets you open the Welcome Screen which provides quick access to recent projects, Corona developer resources, and more. This menu also lets you access the Corona Simulator Console (Console). Finally, this menu includes options to manipulate the Simulator window or change the skin
If you're new to Corona, the most fun way to learn is to create a simple game. Don't worry if you've never created a mobile app or programmed before — the chapters in the guide will walk you through the entire process from start to finish!
To start a particular app in the Corona Simulator without double-clicking it, use a command like this:
"C:\Program Files\Corona Labs\Corona\Corona Simulator.exe" "C:\Documents and Settings\MyAccount\My Documents\Corona Apps\My App\main.lua"
If you don't want the Corona Simulator Console window to automatically appear, use the
"C:\Program Files\Corona Labs\Corona\Corona Simulator.exe" /no-console
After using the
/no-console option above, all Lua
print() functions and Corona log messages can be received via the standard output stream (
One additional flag is allowed (
/debug) which allows an IDE to connect a debugger to the Simulator session. It should come immediately after the