Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Corona SDK Application Design
Table of Contents
Corona SDK Application Design
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Getting Started with Your Mobile Adventure
What is Corona SDK?
Prerequisites for Corona SDK
Downloading, installing, and using Corona SDK
Installing for Mac OS X
Installing for Microsoft Windows
Using Corona SDK
Summary
2. Learning Lua
Using variables with Lua
Using the terminal
Expressions and operators
Arithmetic expressions
Comparison operators
Making decisions
The if-then statement
The if-then-else statement
Loops, loops, and loops
The for loop
The while loop
More flexibility with tables
Using functions
Summary
3. Creating Your First App
Using a text editor
Notepad++
Sublime Text
Corona-specific editors
Creating a new project
An introduction to Storyboard
The createScene function
The enterScene function
The exitScene function
The destroyScene function
Switching scenes
Destroying scenes
Using widgets
Starting with main.lua
view1.lua – about us
view2.lua – your BMI
view3.lua – contact us
config.lua – setting up dynamic content resolution
App icons
Summary
4. Creating a Puzzle App
A quick introduction to puzzle games
Downloading the starter kit
My Jigsaw Puzzle
build.settings
config.lua
main.lua
menu.lua
gameplay.lua
Getting local libraries
Creating variables
Creating display groups
The shuffle function
Creating the shuffle function
Dragging-and-dropping display objects
Creating the drag function
Summary
5. Testing and Publishing
How to test your app
iOS
Android
Publishing your app
Publishing to Apple's App Store
Publishing to Google Play
Other resources and the Corona community
A. Tools, Services, and Marketing
Third-party tools
Third-party services
Marketing tips
Index
← Prev
Back
Next →
← Prev
Back
Next →