Corona SDK Mobile Game Development: Beginner's Guide - Second Edition
eBook - ePub

Corona SDK Mobile Game Development: Beginner's Guide - Second Edition

Michelle M. Fernandez

Partager le livre
  1. 372 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Corona SDK Mobile Game Development: Beginner's Guide - Second Edition

Michelle M. Fernandez

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

About This Book

  • From game physics to successful marketing, learn the fundamentals of Corona SDK for game development
  • Integrate your games with social networks such as Twitter and Facebook
  • This is a pragmatic guide explained in a step-by-step manner to create and deploy games quickly and efficiently

Who This Book Is For

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.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Corona SDK Mobile Game Development: Beginner's Guide - Second Edition est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Corona SDK Mobile Game Development: Beginner's Guide - Second Edition par Michelle M. Fernandez en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Ciencia de la computaciĂłn et ProgramaciĂłn de juegos. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2015
ISBN
9781783559350

Corona SDK Mobile Game Development Beginner's Guide Second Edition


Table of Contents

Corona SDK Mobile Game Development Beginner's Guide Second Edition
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
Sections
Time for action – heading
What just happened?
Pop quiz – heading
Have a go hero – heading
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Getting Started with Corona SDK
Downloading and installing Corona
Time for action – setting up and activating Corona on Mac OS X
What just happened?
Time for action – setting up and activating Corona on Windows
What just happened?
Using the simulator on Mac and Windows
Time for action – viewing a sample project in the simulator
What just happened?
Have a go hero – use a different device shell
Choosing a text editor
Developing on devices
Time for action – downloading and installing Xcode
What just happened?
Time for action – creating a Hello World application in two lines of code
Time for action – modifying our application
Time for action – applying a new font name to our application
What just happened?
Have a go hero – adding more text objects
Testing our application on an iOS device
Time for action – obtaining the iOS developer certificate
What just happened?
Adding iOS devices
Xcode
iTunes
Time for action – adding/registering your iOS device
Time for action – creating an App ID
What just happened?
Provisioning profiles
Time for action – creating a provisioning profile
What just happened?
Application icon
Creating the Hello World build for iOS
Time for action – creating an iOS build
What just happened?
Time for action – loading an app on your iOS device
What just happened?
Testing our application on an Android device
Creating the Hello World build for Android
Time for action – creating an Android build
What just happened?
Time for action – loading an app on your Android device
What just happened?
Pop quiz – understanding Corona
Summary
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
What just happened?
Expressions
Arithmetic operators
Relational operators
Logical operators
Concatenation
The length operator
Precedence
Strings
Quoting strings
Time for action – getting our hands full of strings
What just happened?
Have a go hero – pulling some more strings
Tables
Passing 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
What just happened?
Have a go hero – adjusting display object properties
Runtime configuration
Dynamic content scaling
Dynamic content alignment
Dynamic image resolution
Frame rate control
Time for action – scaling display objects on multiple devices
What just happened?
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 function
More display functions
Content size properties
Optimize your workflow
Use memory efficiently
Optimize your display images
Pop quiz – basics of Lua
Summary
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
Build configuration
Time for action – adding the build.settings file
What just happened?
Dynamic scaling
Time for action – adding the config.lua file
What just happened?
Building the application
Displaying groups
display.newGroup()
Working with system functions
system.getInfo()
system.setAccelerometerInterval()
Time for action – creating variables for the game
What just happened?
Understanding events and listeners
Register events
Runtime events
enterFrame
Accelerometer
Touch events
Touch (single touch)
tap
Transitions
Creating menu screens
Time for action – adding the main menu screen
What just happened?
Have a go hero – creating a help screen
Creating the game play scene
Time for action – adding game objects
What just happened?
Time for action – building bricks
What just happened?
Have a go hero – focused platform gaming
Red alert!
Time for action – displaying game messages
What just happened?
Pop quiz – building a game
Summary
4. Game Controls
Moving in the up direction
Let's get even more physical
physics.addBody()
Time for action – starting physics for the paddle and ball
What just happened?
Paddle movement
Time for action – dragging the paddle in the simulator
What just happened?
Time for action – moving the pad...

Table des matiĂšres