My Account Log in

1 option

Lua game development cookbook : over 70 recipes that will help you master the elements and best practices required to build a modern game engine using Lua / Mário Kasuba.

Ebook Central College Complete Available online

View online
Format:
Book
Author/Creator:
Kasuba, Mário, author.
Series:
Quick answers to common problems.
Quick answers to common problems
Language:
English
Subjects (All):
Computer software--Development.
Computer software.
Application software--Development.
Application software.
Physical Description:
1 online resource (360 p.)
Place of Publication:
Birmingham, England ; Mumbai, [India] : Packt Publishing, 2015.
Language Note:
English
Biography/History:
Kasuba Mario: Mario Kasuba achieved a master's degree in applied informatics at Slovak Technical University in Bratislava, where he used the Lua language in 3D robotics simulations and developed various multimedia applications along with a few computer games. Currently, he is the co-owner and chief information officer of an IT Academy company, while he also leads courses on C/C++, PHP, Linux, Databases, Typo3, Silverstripe CMS, VMware virtualization, and the Microsoft Windows Server operating system. He also works as the head web developer and system administrator for the web portal http: //www. rodinka. sk/.
Summary:
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
Contents:
""Cover""; ""Copyright""; ""Credits""; ""About the Author""; ""About the Reviewer""; ""www.PacktPub.com""; ""Table of Contents""; ""Preface""; ""Chapter 1: Basics of Game Engine""; ""Introduction""; ""Preparing a basic file structure for the game engine""; ""Making a stack""; ""Making a queue""; ""Making a prioritized queue""; ""Extending ipairs for use in sparse arrays""; ""Creating Lua modules""; ""Handling errors with pcall, xpcall, and assert""; ""Using Lua with existing projects written in C/C++""; ""Getting LuaSDL for libSDL 1.2""; ""Designing the main application loop with LuaSDL""
""Chapter 2: Events""""Introduction""; ""Processing input events with LuaSDL""; ""Using the keyboard input""; ""Using the relative mouse position""; ""Using the absolute mouse position""; ""Using timers""; ""Chapter 3: Graphics � Common Methods""; ""Introduction""; ""Creating a window in libSDL""; ""Creating surfaces""; ""Surfaces manipulation""; ""Using colors""; ""Cursor manipulation""; ""Initializing the graphics mode with OpenGL""; ""Getting OpenGL information""; ""Using OpenGL extensions with GLEW and Lua""; ""Loading images with SDL_image""; ""Creating textures""
""Loading and using bitmap fonts""""Loading and using TrueType fonts""; ""Displaying the text""; ""Creating texture atlas with the rover-design pattern""; ""Using tiles and tilesets in the game""; ""Chapter 4: Graphics � Legacy Method with OpenGL 1.x�2.1""; ""Introduction""; ""Drawing primitives in immediate mode""; ""Setting up blending""; ""Moving, rotating, and scaling objects""; ""Setting up the orthogonal and perspective cameras""; ""Setting up materials""; ""Setting up lighting""; ""Using display lists""; ""Setting up vertex buffer""
""Chapter 5: Graphics � Modern Method with OpenGL 3.0+""""Introduction""; ""Loading and using GLSL shaders""; ""Using uniform variables with shaders""; ""Writing a vertex shader""; ""Writing a fragment (pixel) shader""; ""Drawing primitives by using vertex buffers""; ""Rendering to texture""; ""Applying highlights and shadows in the scene""; ""Bumpmapping""; ""Chapter 6: The User Interface""; ""Introduction""; ""Drawing a simple window""; ""Moving the window""; ""Using the window hierarchy""; ""Showing the part of the window with the stencil test and window content scrolling""
""Window controls and interaction""""Chapter 7: Physics and Game Mechanics""; ""Introduction""; ""Using Box2D with Lua""; ""Using vector math""; ""Choosing the correct vector scaling for the physics engine""; ""Creating static and dynamic objects""; ""Setting up object properties""; ""Moving objects""; ""Setting up bullets""; ""Running the physics simulation""; ""Detecting object collision""; ""Setting up object collision filtering""; ""Setting up object joints""; ""Chapter 8: Artificial Intelligence""; ""Introduction""; ""A simple pathfinding algorithm for a maze""
""Pathfinding for tile-based environments with obstacles""
Notes:
Includes index.
Description based on online resource; title from PDF title page (ebrary, viewed August 5, 2015).
ISBN:
9781849515511
1849515514
OCLC:
915153919

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account