Free Sample
+ Collection

LÖVE for Lua Game Programming

Darmie Akinlaja

If you want to create 2D games for Windows, Linux, and OS X, this guide to the LÖVE framework is a must. Written for hobbyists and professionals, it will help you leverage Lua for fast and easy game development.
RRP $17.99
RRP $29.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781782161608
Paperback106 pages

About This Book

  • Discover the LÖVE framework and build games easily and efficiently
  • Learn how to utilize the LÖVE framework’s tools to create a 2D game world
  • A step-by-step approach to learning game development

Who This Book Is For

LÖVE for Lua Game Programming is for anyone who is interested in learning about desktop game development.

Table of Contents

Chapter 1: Getting Started with LÖVE
Downloading LÖVE
For Windows users
For Linux users
For Mac users
Chapter 2: LÖving Up!
Drawing 2D objects
Moving objects
Chapter 3: Before You Build a Game
Planning your game
Chapter 4: Making Your First Game
Basic level design
Getting started with Tiled
Exporting your tile map
Loading the game level
Chapter 5: More About Making the Game
Bump on it!
Loading solid tiles into the bump
Loading the character objects (player and enemy)
A player character
The anim8 library
Chapter 6: Meeting the Bad Guy!
Bad guy
Updating the enemy position and animation
Enemy collision configuration
Enemy death function
Drawing the enemy character to the screen
Chapter 7: Pickups and Head-Up Display and Sounds
Audio system
Head-Up Display (HUD)
Life HUD
Score HUD
Chapter 8: Packaging and Distributing Your Game
Windows executable
Mac apps
LÖVE on browsers
LÖVE on Android mobile phones

What You Will Learn

  • Create different environments to make your games more interesting
  • Add sound and music to your games
  • Apply game physics and real-time particle collisions
  • Animate game characters using sprites
  • Deploy your games to Windows, Linux, and Mac platforms

In Detail

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.


Read More