Developing Mobile Games With Moai Sdk

E-Book Overview

Learn the basics of Moai SDK through developing games

Overview

  • 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’

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.

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

Approach

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

Who this book is written 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.


E-Book Content

Developing Mobile Games with Moai SDK Learn the basics of Moai SDK through developing games Francisco Tufró BIRMINGHAM - MUMBAI Developing Mobile Games with Moai SDK Copyright © 2013 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: March 2013
You might also like

High Performance Data Mining
Authors: Guo , Grossman. (eds.)    208    0


Object-oriented Analysis And Design With Applications
Authors: Grady Booch , Robert A. Maksimchuk , Michael W. Engel , Bobbi J. Young , Jim Conallen , Kelli A. Houston    140    0


Functional Programming
Authors: Fokker J.    168    0


Invitation To Fixed-parameter Algorithms
Authors: Rolf Niedermeier    112    0


Algorithm Theory — Swat 2002: 8th Scandinavian Workshop On Algorithm Theory Turku, Finland, July 3–5, 2002 Proceedings
Authors: Torben Hagerup , Rajeev Raman (auth.) , Martti Penttonen , Erik Meineche Schmidt (eds.)    139    0


A Concise Introduction To Data Compression
Authors: David Salomon    120    0


Introduction To Lambda Calculus
Authors: Barendregt H. , Barendsen E.    134    0


Beginning Python
Authors: Peter C. Norton , Alex Samuel , Dave Aitel , Eric Foster-Johnson , Leonard Richardson , Jason Diamond , Aleatha Parker , Michael Roberts    193    0


Object-oriented Programming Via Fortran 90-95
Authors: Ed Akin    144    0


Programming In Haskell
Authors: Graham Hutton    156    0