LÖVE for Lua Game Programming

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.

LÖVE for Lua Game Programming

Darmie Akinlaja

1 customer reviews
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.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$12.60
RRP $17.99
Save 29%
Print + eBook
$29.99
RRP $29.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$12.60
$29.99
$29.99p/m after trial
RRP $17.99
RRP $29.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781782161608
Paperback106 pages

Book Description

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

Chapter 1: Getting Started with LÖVE
Downloading LÖVE
For Windows users
For Linux users
For Mac users
Summary
Chapter 2: LÖving Up!
Drawing 2D objects
Moving objects
Sprites
Animation
Summary
Chapter 3: Before You Build a Game
Planning your game
Summary
Chapter 4: Making Your First Game
Basic level design
Getting started with Tiled
Exporting your tile map
Loading the game level
Conf.lua
Summary
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
Summary
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
Summary
Chapter 7: Pickups and Head-Up Display and Sounds
Pickups
Audio system
Head-Up Display (HUD)
Life HUD
Score HUD
Summary
Chapter 8: Packaging and Distributing Your Game
Windows executable
Mac apps
Linux
LÖVE on browsers
LÖVE on Android mobile phones
Summary

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

Authors

Table of Contents

Chapter 1: Getting Started with LÖVE
Downloading LÖVE
For Windows users
For Linux users
For Mac users
Summary
Chapter 2: LÖving Up!
Drawing 2D objects
Moving objects
Sprites
Animation
Summary
Chapter 3: Before You Build a Game
Planning your game
Summary
Chapter 4: Making Your First Game
Basic level design
Getting started with Tiled
Exporting your tile map
Loading the game level
Conf.lua
Summary
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
Summary
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
Summary
Chapter 7: Pickups and Head-Up Display and Sounds
Pickups
Audio system
Head-Up Display (HUD)
Life HUD
Score HUD
Summary
Chapter 8: Packaging and Distributing Your Game
Windows executable
Mac apps
Linux
LÖVE on browsers
LÖVE on Android mobile phones
Summary

Book Details

ISBN 139781782161608
Paperback106 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Unity 2D Game Development Book Cover
Unity 2D Game Development
$ 14.99
$ 1.50
Learning Unity 2D Game Development by Example Book Cover
Learning Unity 2D Game Development by Example
$ 26.99
$ 18.90
Learning Game AI Programming with Lua Book Cover
Learning Game AI Programming with Lua
$ 26.99
$ 18.90
SDL Game Development Book Cover
SDL Game Development
$ 26.99
$ 18.90
Lua Game Development Cookbook Book Cover
Lua Game Development Cookbook
$ 39.99
$ 28.00
Unity 4.x Game Development by Example: Beginner's Guide Book Cover
Unity 4.x Game Development by Example: Beginner's Guide
$ 26.99
$ 18.90