Lua Game Development Cookbook
暫譯: Lua 遊戲開發食譜
Mario Kasuba
- 出版商: Packt Publishing
- 出版日期: 2015-07-31
- 售價: $2,210
- 貴賓價: 9.5 折 $2,100
- 語言: 英文
- 頁數: 402
- 裝訂: Paperback
- ISBN: 1849515506
- ISBN-13: 9781849515504
-
相關分類:
程式語言
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$1,610$1,530 -
$1,460C++ How to Program : Late Objects Version, 7/e (IE-Paperback)
-
$2,570$2,442
相關主題
商品描述
Over 70 recipes that will help you master the elements and best practices required to build a modern game engine using Lua
About This Book
- Discover how to solve common and less common problems in game mechanics
- Learn about modern computer graphics, sounds, physics, artificial intelligence and much more
- Packed with loads of practical examples, step-by-step instructions, and supporting explanations to help you build a modern game engine using Lua
Who This Book Is For
This book is for all programmers and game enthusiasts who want to stop dreaming about creating a game, and actually create one from scratch.
The reader should know the basics of programming and using the Lua language. Knowledge of the C/C++ programming language is not necessary, but it's strongly recommended in order to write custom Lua modules extending game engine capabilities or to rewrite parts of the Lua code into a more efficient form.
Algebra and matrix operations are required in order to understand advanced topics in Chapter 4, Graphics – Legacy Method with OpenGL 1.x-2.1 and Chapter 5, Graphics – Modern Method with OpenGL 3.0+.
Sample demonstrations are coupled with binary libraries for Windows and Linux operating systems for convenience.
What You Will Learn
- Set up OpenGL graphics along with GLSL shaders
- Use lighting and graphical effects
- Create animated game characters using Box2D library
- Load and use textures, fonts, and 3D models
- Design and implement a graphical user interface
- Integrate simple Artificial Intelligence for pathfinding
- Implement networking support
- Use data structures in programming
In Detail
The Lua language allows developers to create everything from simple to advanced applications and to create the games they want. Creating a good game is an art, and using the right tools and knowledge is essential in making game development easier.
This book will guide you through each part of building your game engine and will help you understand how computer games are built. The book starts with simple game concepts used mainly in 2D side-scroller games, and moves on to advanced 3D games. Plus, the scripting capabilities of the Lua language give you full control over game.
By the end of this book, you will have learned all about the components that go into a game, created a game, and solved the problems that may arise along the way.
商品描述(中文翻譯)
超過70個食譜,幫助您掌握使用Lua構建現代遊戲引擎所需的要素和最佳實踐
本書介紹
- 發現如何解決遊戲機制中的常見和不常見問題
- 了解現代計算機圖形學、聲音、物理學、人工智慧等更多內容
- 充滿大量實用範例、逐步指導和支持說明,幫助您使用Lua構建現代遊戲引擎
本書適合誰
本書適合所有希望不再只是夢想創建遊戲,而是實際從零開始創建遊戲的程式設計師和遊戲愛好者。
讀者應該了解程式設計的基本知識和使用Lua語言。雖然不需要具備C/C++程式語言的知識,但強烈建議具備這方面的知識,以便編寫擴展遊戲引擎功能的自定義Lua模組或將Lua代碼的某些部分重寫為更高效的形式。
為了理解第4章「圖形 - 舊方法與OpenGL 1.x-2.1」和第5章「圖形 - 現代方法與OpenGL 3.0+」中的高級主題,需要具備代數和矩陣運算的知識。
為了方便起見,示範範例與Windows和Linux操作系統的二進位庫結合在一起。
您將學到什麼
- 設置OpenGL圖形及GLSL著色器
- 使用照明和圖形效果
- 使用Box2D庫創建動畫遊戲角色
- 加載和使用紋理、字體和3D模型
- 設計和實現圖形用戶界面
- 整合簡單的人工智慧以進行路徑尋找
- 實現網絡支持
- 在程式設計中使用數據結構
詳細內容
Lua語言允許開發者創建從簡單到高級的應用程式,並創造他們想要的遊戲。創建一個好的遊戲是一門藝術,使用正確的工具和知識對於簡化遊戲開發至關重要。
本書將指導您完成構建遊戲引擎的每個部分,並幫助您理解計算機遊戲是如何構建的。本書從主要用於2D橫向捲軸遊戲的簡單遊戲概念開始,然後轉向高級3D遊戲。此外,Lua語言的腳本功能使您能夠完全控制遊戲。
在本書結束時,您將了解構成遊戲的所有組件,創建一個遊戲,並解決過程中可能出現的問題。