书籍简介:
A step by step tutorial that focuses on everything from setup to deployment of basic apps.Have you ever wanted to create your own appThen this book is for you. You will learn how to create apps using Corona SDK and how to publish your app so others can get a glimpse of your creation. This book is aimed at both Android and iOS app developers. The reader must have basic knowledge of app development.
作者简介:
Daniel Williams
出版时间:
2013-06-13
章节目录:
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
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
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
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
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
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
封面图: