Developing Mobile Games with Moai SDK
暫譯: 使用 Moai SDK 開發行動遊戲

Francisco Tufró

  • 出版商: Packt Publishing
  • 出版日期: 2013-03-26
  • 售價: $1,350
  • 貴賓價: 9.5$1,283
  • 語言: 英文
  • 頁數: 136
  • 裝訂: Paperback
  • ISBN: 1782165061
  • ISBN-13: 9781782165064
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

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.

商品描述(中文翻譯)

學習透過開發遊戲來掌握 Moai SDK 的基礎知識

概述
- 使用單一代碼基礎為多個平台開發遊戲
- 理解 Moai SDK 的基本概念
- 建立兩個原型遊戲,其中一個包含物理引擎
- 將您的遊戲部署到 iPhone

詳細內容
Moai SDK 是一個快速、簡約的開源 Lua 行動框架,專為專業遊戲開發者設計。Moai 是圍繞 Lua 構建的,Lua 是一種常見的遊戲編程語言,並提供一個單一的開源平台,涵蓋消費者看到的前端元素和後端基礎設施。

《使用 Moai SDK 開發行動遊戲》將指導您逐步創建兩個遊戲原型,提供您創建自己遊戲所需的基本工具。

《使用 Moai SDK 開發行動遊戲》介紹了遊戲開發背後的基本概念,並帶您開發一個基於瓷磚的記憶測試遊戲和一個平台遊戲原型。您將擁有一個良好的代碼基礎,以開始編寫自己的遊戲。

您將學到一些來自實際經驗的技巧,同時創建一個小型框架,讓您能夠顯示圖像、播放聲音、獲取輸入等等。您還將學習如何使用 Box2D 綁定來實現物理效果,並且一切都在 Lua 中進行,而無需使用任何編譯。完成這些後,我們將看看如何將您的遊戲部署到 iOS 並在 iPhone 上運行。

有了這本書,您應該準備好創建自己的遊戲,將其發布到 Apple Store,並擁有足夠的工具深入了解 Moai SDK。

您將從這本書中學到的內容
- 顯示圖像和播放聲音
- 使用 Lua 迭代遊戲玩法的實現
- 將代碼分組到模組中以便於維護
- 使用網格管理渲染和遊戲玩法
- 建立一個具有物理效果的遊戲
- 動畫角色並使其隨鍵盤移動
- 使用相機創建一些漂亮的視差效果
- 使用快取節省記憶體和加載時間
- 將您的遊戲部署到 iPhone 和 iPad

方法
這是一個正常的逐步教程,內含兩個示例遊戲,以從零開始教學 Moai SDK。

本書的讀者對象
這本書適合任何想要開發遊戲的人,特別是如果他們希望使用像 Lua 這樣的腳本語言快速迭代,並且目標是多個平台。所有這些都不需要花費您的薪水在許可證上。Moai SDK 旨在專業人士,但它擁有一個偉大的社群,將幫助您學習並成為其中的一部分。