Home Page Icon
Home Page
Table of Contents for
Title Page
Close
Title Page
by Jayant Varma
Learn Lua for iOS Game Development
Title Page
Dedication
Contents at a Glance
Contents
About the Author
About the Technical Reviewers
Acknowledgments
Chapter 1: Introduction to Lua1
What Is Lua?
The History of Lua
Lua Timeline
Starting with Lua
Setting Up Lua
Features of Lua
Lua Operators
Summary
Chapter 2: Lua Libraries
Basic Functions
System Libraries
Tables: A Quick Overview
Functions: An Advanced Look
Summary
Chapter 3: File Operations
Implicit Functions
Explicit Functions
Uses of File I/O in Gaming
Saving a Variable
Grabbing the Data
Saving Data to a Variable
Writing Data to the File
Saving a Table
Dynamic Variables
Summary
Chapter 4: Math with Lua
Introduction to Math in Lua
Practical Uses of Math in Gaming
Boolean Math
Summary
Chapter 5: Strings
What Is a String?
Patterns
Using the String Functions
Level Management
Summary
Chapter 6: Threading
Coroutines
Working with Tables
Object-Oriented Lua
But What’s the Object?
Summary
Chapter 7: Tips and Tricks
Generic Lua Functions
Collisions
Other Generic Functions
Parameter Handling
Vector 2D
Summary
Chapter 8: Corona SDK
Setting Up Corona SDK
How Corona SDK Works
Hello World for Corona SDK
Beyond Hello World: Creating a Rectangle on the Screen
Timing Is Everything
Animating Using enterFrame
Creating Sound
Working with Videos
Creating an Elevator
The Internet Browser
Nothing Lasts Forever
Enterprise Edition
Summary
Chapter 9: Gideros Studio
License
Installing Gideros Studio
Architecture
The Gideros Engine
Plug-Ins
Summary
Chapter 10: Moai
What Is Moai?
Obtaining Moai
The Moai SDK
Hello Moai
Displaying Text
Drawing Vector Primitives
Drawing Images
Animation
Tile Decks
Threading
Groups
Handling Input
Sound
Displaying a Dialog
Displaying Video
Device Orientation
Notifications
Networking
Using JSON
Using Base64
Compressing Data
Physics
Moai Cloud
Summary
Chapter 11: LÖVE
The Architecture
Installing LÖVE
Running LÖVE
The Callback Functions
LÖVE Namespaces
The Graphics Module
Application Settings – conf.lua
Creating Effects
Physics
Displaying Text
Shaders
Making Sound
Sample Game Code
Summary
Chapter 12: Codea
Getting Codea
Codea Architecture
Hello World
Parameters
Drawing with Codea
Displaying Images
Recording Video
Touch
Making Sound
iOS Hardware
Downloading Data
Displaying Web Pages
Physics
Vector Math
Summary
Chapter 13: Libraries
Particle Candy
Text Candy
Widget Candy
Corona AutoLAN
Corona Profiler
Director
Lime
RapaNui
Gideros Illustrator (SVG Library)
TNT Particles Library
Busted
Moses
Allen
BhWax
Summary
Chapter 14: Third-Party Applications
IDEs
Text Editors
Snippets Collectors
Versioning
Bitmap Editors
Sprite Animation and Level Creation Tools
Sound Tools
Summary
Chapter 15: Sample Source Code
Graphics
Setting Up the Environment
Making the Chopper Fly
Using the Accelerometer
Moving the Helicopter
Making Sound
Shooting Bullets
Moving the Bullets
Spawning Enemies
Moving the Scenery Objects
Losing a Life
Let There Be Some Color
Displaying Information
Game Over; Play Again?
Collisions
Putting It All Together
Summary
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Cover
Next
Next Chapter
Copyright
Learn Lua for iOS Game Development
Jayant Varma
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset