PacktLib: LÖVE for Lua Game Programming

LÖVE for Lua Game Programming

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Getting Started with LÖVE

Downloading LÖVE

For Windows users

For Linux users

For Mac users

Summary

LÖving Up!

Drawing 2D objects

Moving objects

Sprites

Animation

Summary

Before You Build a Game

Planning your game

Summary

Making Your First Game

Basic level design

Getting started with Tiled

Exporting your tile map

Loading the game level

Conf.lua

Summary

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

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

Pickups and Head-Up Display and Sounds

Pickups

Audio system

Head-Up Display (HUD)

Life HUD

Score HUD

Summary

Packaging and Distributing Your Game

Windows executable

Mac apps

Linux

LÖVE on browsers

LÖVE on Android mobile phones

Summary

Index