Book description
So you have a great game idea for iPhone or iPad, but Objective-C just seems a bit daunting. What are your alternatives? The App Store is very picky about languages, but there is hope: Lua is a versatile, lightweight, fast, and easy to learn language that you can use to build your iOS games and get them accepted into the App Store.
Learn Lua for iOS Game Development walks you through the Lua basics, then shows you how to create games using the top Lua frameworks like Corona SDK, Gideros, Moai, and even how to create games on the iPad (not just for the iPad) with Codea.
You aren't tied to Xcode and Objective-C -- you can create all sorts of amazing games with Lua. But if you already have an existing iOS game, you'll also learn how to integrate Lua to extend the game. If you're an aspiring or current iOS developer, you need to know Lua, and Learn Lua for iOS Game Development will give you just what you need to do that.
What you'll learn
Lua basics for iOS
How to choose a Lua framework depending on your needs
How to use Corona, Gideros, Moai, and more
How to use Lua to create a game faster and easier than with Objective-C
How to use Lua libraries, wrappers, and third party tools
Who this book is for
Beginning iOS developers who find Objective-C difficult but HTML5-based tools too limiting; more advanced iOS developers who want to integrate and open their apps to extension via Lua scripting.
Table of contents
- Title Page
- Dedication
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewers
- Acknowledgments
- Chapter 1: Introduction to Lua1
- Chapter 2: Lua Libraries
- Chapter 3: File Operations
- Chapter 4: Math with Lua
- Chapter 5: Strings
- Chapter 6: Threading
- Chapter 7: Tips and Tricks
- Chapter 8: Corona SDK
- Chapter 9: Gideros Studio
-
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
- Chapter 12: Codea
- Chapter 13: Libraries
- Chapter 14: Third-Party Applications
-
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
Product information
- Title: Learn Lua for iOS Game Development
- Author(s):
- Release date: December 2012
- Publisher(s): Apress
- ISBN: 9781430246626
You might also like
book
Serious Python
Sharpen your Python skills as you dive deep into the Python programming language with Serious Python. …
book
Python Projects for Beginners: A Ten-Week Bootcamp Approach to Python Programming
Immerse yourself in learning Python and introductory data analytics with this book’s project-based approach. Through the …
book
Hands-On Software Engineering with Golang
Explore software engineering methodologies, techniques, and best practices in Go programming to build easy-to-maintain software that …
book
Practical SQL
"Practical SQL is an approachable and fast-paced guide to SQL (Structured Query Language), the standard programming …