ENGLISH

Corona SDK mobile game development beginner's guide: learn, explore, and create commercially successful mobile games for iOS and android

Book information

Publisher
Packt Publishing
Year
2015
ISBN
9781783559343, 0123456789, 9781783559350, 1783559357
Language
english
Format
EPUB
Filesize
8 MB (7997134 bytes)
Edition
Second edition
Pages
(372 pages) : color illustrations\0
Time added
2020-07-26 19:24:52

Description

Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Corona SDK; Downloading and installing Corona; Time for action -- setting up and activating Corona on Mac OS X; Time for action -- setting up and activating Corona on Windows; Using the simulator on Mac and Windows; Time for action -- viewing a sample project in the simulator; Choosing a text editor; Developing on devices; Time for action -- downloading and installing Xcode; Time for action -- creating a Hello World application in two lines of code;This book is for anyone who wants to have a go at creating commercially successfully games for Android and iOS. You don't need game development or programming experience. Cover Copyright Credits About the Author About the Reviewers www.PacktPub.com Table of Contents Preface Chapter 1: Getting Started with Corona SDK Downloading and installing Corona Time for action -- setting up and activating Corona on Mac OS X Time for action -- setting up and activating Corona on Windows Using the simulator on Mac and Windows Time for action -- viewing a sample project in the simulator Choosing a text editor Developing on devices Time for action -- downloading and installing Xcode Time for action -- creating a Hello World application in two lines of code Time for action -- modifying our applicationTime for action -- applying a new font name to our application Testing our application on an iOS device Time for action -- obtaining the iOS developer certificate Adding iOS devices Xcode iTunes Time for action -- adding/registering your iOS device Time for action -- creating an App ID Time for action -- creating a provisioning profile Application icon Creating the Hello World build for iOS Time for action -- creating an iOS build Time for action -- loading an app on your iOS device Testing our application on an Android device Creating the Hello World build for AndroidTime for action -- creating an Android build Time for action -- loading an app on your Android device Summary Chapter 2: Lua Crash Course and the Corona Framework Lua to the rescue Valuable variables Global variables Local variables Table fields (properties) Assignment conventions Types of values Time for action -- printing values using blocks Expressions Arithmetic operators Relational operators Logical operators Concatenation The length operator Precedence Strings Quoting strings Time for action -- getting our hands full of strings TablesPassing a table as an array Altering contents in a table Populating a table Objects Display objects Display properties Object methods Images Loading an image Image autoscaling Time for action -- placing images on screen Runtime configuration Dynamic content scaling Dynamic content alignment Dynamic image resolution Frame rate control Time for action -- scaling display objects on multiple devices Dynamic resolution images Time for some shapes Applying stroke width, fill color, and stroke color Text, text, text Applying color and string value What are functions? Defining a functionMore display functions Content size properties Optimize your workflow Use memory efficiently Optimize your display images Summary Chapter 3: Building Our First Game -- Breakout Breakout -- bringing back old-school gaming Understanding the Corona physics API Setting up the physics world Starting, pausing, and stopping the physics engine physics.setGravity physics.getGravity Tilt-based gravity physics.setScale physics.setDrawMode physics.setPositionIterations physics.setVelocityIterations Configuring the application Time for action -- adding the build.settings file

Similar books