Developing Mobile Games with Moai SDK


Developing Mobile Games with Moai SDK
eBook: $17.99
Formats: PDF, PacktLib, ePub and Mobi formats
$15.29
save 15%!
Print + free eBook + free PacktLib access to the book: $47.98    Print cover: $29.99
$29.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Develop games for multiple platforms with a single code base
  • Understand the basics of Moai SDK
  • Build two prototype games including one with physics
  • Deploy your game to iPhone’

Book Details

Language : English
Paperback : 136 pages [ 235mm x 191mm ]
Release Date : March 2013
ISBN : 1782165061
ISBN 13 : 9781782165064
Author(s) : Francisco Tufró
Topics and Technologies : All Books, Game Development, Open Source

Table of Contents

Preface
Chapter 1: Why Moai SDK?
Chapter 2: Installing Moai SDK
Chapter 3: Basic Moai SDK Concepts
Chapter 4: Our First Game with Moai
Chapter 5: Showing Images on the Screen
Chapter 6: Resource Manager
Chapter 7: Concentration Gameplay
Chapter 8: Let's Build a Platformer!
Chapter 9: Real-world Physics with Box2D
Chapter 10: Creating a HUD
Chapter 11: Let the Right Music In!
Chapter 12: iOS Deployment
Chapter 13: Deployment to Other Platforms
Index
              • Chapter 7: Concentration Gameplay
                • Grid
                  • Tilemaps
                  • The implementation
                • Input
                • Gameplay
                  • Initialization
                  • Input processing
                  • Choosing a cell
                  • Tile swapping
                  • Resetting tiles
                  • Removing tiles
                  • Other auxiliary methods
                • Summary
                        • Chapter 12: iOS Deployment
                          • Xcode project
                            • The host
                          • Running an example
                          • Setting up our own project
                            • Pointing to the correct source code
                            • Fixing source paths
                            • Fixing include paths
                            • Fixing linked libraries
                          • Going multi-platform
                          • Running on the device
                          • Summary

                            Francisco Tufró

                            Francisco Tufró has been captivated by computers and the possibility of using them to create new worlds since he was six years old. At age 14, he sort of hacked into a chat demo in Visual Basic and transformed it into a full-feature RPG chat, with support for maps, character sheets, and dice rolls. The years went by and he learned many things along the way, as any curious person does. Suddenly he found himself collaborating in various open-source projects, including Musix (a Linux distribution for musicians) and CLAM (working on the project for Google's Summer of Code 2008). He co-founded quov.is and worked as a Ruby on Rails developer for about 5 years while never forgetting about what drove him to computers in the first place, games.

                            He put together a team and created The Insulines, an old-school graphic adventure about rock 'n' roll and diabetes. It was thanks to this game that he first came into contact with Moai SDK. It took about 8 months of development. He fell so deeply in love with Moai SDK that now he's working full-time on it with Zipline Games.

                            He likes to call himself a developer, noting the difference from a programmer who is a person that has broad knowledge (not only in programming, but also in art, music, and other disciplines), perhaps not as deep as a specialized person does, but enough to tackle and solve problems in their entirety.

                            Sorry, we don't have any reviews for this title yet.

                            Code Downloads

                            Download the code and support files for this book.


                            Submit Errata

                            Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                            Sorry, there are currently no downloads available for this title.

                            Frequently bought together

                            Developing Mobile Games with Moai SDK +    JBoss Portal Server Development =
                            50% Off
                            the second eBook
                            Price for both: $29.40

                            Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                            What you will learn from this book

                            • Display images and play sounds
                            • Iterate on gameplay implementation using Lua
                            • Group your code in modules to make it maintainable
                            • Work with Grids to manage rendering and gameplay
                            • Build a game with physics
                            • Animate a character and make it move with the keyboard
                            • Work with the camera and create some nice parallax effects
                            • Save memory and loading time using caching
                            • Deploy your game to iPhone and iPad

                            In Detail

                            Moai SDK is a fast, minimalist, open-source Lua mobile framework for pro game developers. Moai is built around Lua, a common programming language for games, and offers a single open-source platform for both the front-end elements seen by consumers and the back-end infrastructure.

                            Developing Mobile Games with Moai SDK will guide you through the creation of two game prototypes in a step-by-step way, giving you the basic tools you need in order to create your own games.

                            Developing Mobile Games with Moai SDK introduces the basic concepts behind game development, and takes you through the development of a tile-based memotest, and a platform game prototype as well. You'll end up with a good codebase to start writing your own games.

                            You will learn some tricks that come from real life experience while creating a small framework that will allow you to display images, play sounds, grab input, and so on. You'll also learn how to implement physics using Box2D bindings, and everything in Lua, without having to use any compilations. After doing this, we'll take a look at how to deploy your game to iOS and run it on an iPhone.

                            With this book, you should be ready to go and create your own game, release it to the Apple Store, and have enough tools to dig deeper into Moai SDK.

                            Approach

                            A normal step-by-step tutorial with two sample games built in, to teach Moai SDK from scratch.

                            Who this book is for

                            This book is for anyone who wants to build games, especially if they want to quickly iterate using a scripting language like Lua, and they're targeting more than one platform. All of this without having to spend your salary on licenses. Moai SDK is aimed to professionals, but it has a great community that will help you learn and be a part of it.

                            Code Download and Errata
                            Packt Anytime, Anywhere
                            Register Books
                            Print Upgrades
                            eBook Downloads
                            Video Support
                            Contact Us
                            Awards Voting Nominations Previous Winners
                            Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                            Resources
                            Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software