Book Image

L÷VE for Lua Game Programming

By : AKINLAJA DAMILARE JOSHUA
1 (1)
Book Image

L÷VE for Lua Game Programming

1 (1)
By: AKINLAJA DAMILARE JOSHUA

Overview of this book

L?ñVE is a game development framework for making 2D games using the Lua programming language. L?ñVE is totally free, and can be used in anything from friendly open-source hobby projects, to closed-source commercial ones. Using the Lua programming framework, one can use L?ñVE2D to make any sort of interesting games. L?ñVE for Lua Game Programming will quickly and efficiently guide you through how to develop a video game from idea to prototype. Even if you are new to game programming, with this book, you will soon be able to create as many game titles as you wish without stress. The L?ñVE framework is the quickest and easiest way to build fully-functional 2D video games. It leverages the Lua programming language, which is known to be one of the easiest game development languages to learn and use. With this book, you will master how to develop multi-platform games for Windows, Linux, and Mac OS X. After downloading and installing L?ñVE, you will learn by example how to draw 2D objects, animate characters using sprites, and how to create game physics and game world maps. L?ñVE for Lua Game Programming makes it easier and quicker for you to learn everything you need to know about game programming. If you're interested in game programming, then this book is exactly what you've been looking for.
Table of Contents (15 chapters)

Planning your game


The concept of two-dimensional game is putting all objects in a plane; the z coordinate represents depth, which will not be considered in this scope. Knowing this, all your game graphics are expected to be on a plane, where the x axis and y axis are only considered. Your game objects can move up, left, down, right, in diagonals, and at angles within the x and y coordinates.

What's the idea? How will the game be played? You may want it to be in the isometric view (http://wikipedia.org/wiki/isometric_projection) or like a side-scroll, in which the game world presented perpendicular to the direction the characters are facing on the screen. The examples of side-scrolling can be found at http://www.giantbomb.com/side-scrolling/3015-299/games/.

Who's playing your game? You can start with your friends and build a game they'll love to play. What genre is your game? You should be able to define what genre your game is; your game can be a combination of one or more genres. Below are...