Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
L÷VE for Lua Game Programming

You're reading from   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.

Arrow left icon
Product type Paperback
Published in Sep 2013
Publisher Packt
ISBN-13 9781782161608
Length 106 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
AKINLAJA DAMILARE JOSHUA AKINLAJA DAMILARE JOSHUA
Author Profile Icon AKINLAJA DAMILARE JOSHUA
AKINLAJA DAMILARE JOSHUA
Arrow right icon
View More author details
Toc

Index

A

  • Advanced Tiled Loader
    • about / Loading the game level
    • GitHub, URL / Loading the game level
  • Android mobile phones
    • LÖVE on / LÖVE on Android mobile phones
  • anim8 library
    • about / The anim8 library
    • frames / Frames
    • animation / Animation
    • player movement / Player movement
    • gravitation physics / Gravitation physics
    • player, collision with platform / Player collision with platform
    • player, death / Player's death
    • player, drawing / Draw player
  • anim8.newAnimation() function / The anim8 library
  • anim8.newGrid() / Frames
  • animation
    • about / Animation
  • animation, anim8 library
    • about / Animation
    • loop / Animation
    • once / Animation
    • bounce / Animation
  • antagonist / Antagonist
  • audio system
    • about / Audio system
    • enemy collision sounds / Enemy collision sounds
    • item pick sounds / Item pick sounds

B

  • bounce mode / Animation
  • browser
    • LÖVE in / LÖVE on browsers
  • bump.collision() function / Player collision with platform
  • bump.lua library
    • about / Bump on it!
    • URL / Bump on it!
  • ButtonClick() function / On clicking a button

C

  • character
    • moving left / Moving left, right, up, or down
    • moving right / Moving left, right, up, or down
    • moving up / Moving left, right, up, or down
    • moving down / Moving left, right, up, or down
  • character objects
    • loading / Loading the character objects (player and enemy)
  • coin / Coin
  • coins
    • about / Pickups, Coins
  • coin sound, item pick sounds / Coin sound
  • conf.lua
    • about / Conf.lua
    • love.graphics module / Conf.lua
    • love.update() function / Conf.lua
    • new file / Conf.lua

D

  • 2D objects
    • drawing / Drawing 2D objects
  • death state, enemy / Enemy death function
  • diamond / Diamond
  • diamonds
    • about / Pickups, Diamonds
  • diamond sound, item pick sounds / Diamond sound
  • draw() function / Animation
  • DrawEnemy() function / Drawing the enemy character to the screen

E

  • editor
    • selecting / Choosing your editor
  • enemy
    • position, updating / Updating the enemy position and animation
    • animation, updating / Updating the enemy position and animation
    • collision, configuring / Enemy collision configuration
    • state, configuring / Enemy collision configuration
    • death function / Enemy death function
    • character, drawing to screen / Drawing the enemy character to the screen
    • bump configuration, adding / Drawing the enemy character to the screen
  • enemy collision sounds
    • about / Enemy collision sounds
  • EnemyDie() / Enemy death function

F

  • FindSolidTiles() function / Loading solid tiles into the bump
  • FindSolidTiles(map) / Updating the enemy position and animation
  • flippedH / Animation
  • flippedV / Animation
  • frames, anim8 library / Frames

G

  • gamestate condition / Menu HUD
  • gravitation physics, anim8 library
    • about / Gravitation physics

H

  • HUD
    • about / Head-Up Display (HUD)
    • menu HUD / Menu HUD
    • on clicking button / On clicking a button
    • life HUD / Life HUD
    • score HUD / Score HUD

I

  • isometric view
    • URL / Planning your game
  • item pick sounds
    • about / Item pick sounds
    • coin sound / Coin sound
    • diamond sound / Diamond sound

L

  • life
    • about / Pickups, Life
  • life HUD
    • about / Life HUD
  • Linux
    • about / Linux
  • Linux users
    • LÖVE, downloading for / For Linux users
  • LoadLevel() function / Pickups
  • LoadTiledMap(levelFile) / Loading solid tiles into the bump
  • LoadTileMap() function / Gravitation physics
  • loop mode / Animation
  • love.audio.play() callback / Audio system
  • love.draw() / Basic structure of LÖVE
  • love.draw() chunk / Draw player
  • love.draw() function / Drawing the enemy character to the screen
  • love.draw function / Menu HUD
  • love.graphics.newQuad / Animation
  • love.graphics.rotate() function / Rotating objects
  • love.graphics module / Conf.lua, Drawing 2D objects
  • love.keyboard.isDown() function / Rotating objects
  • love.keypressed callback function / Animation
  • love.load() / Basic structure of LÖVE
  • love.load() function / Menu HUD
  • love.update() function / Conf.lua
  • love.update(dt) / Basic structure of LÖVE
  • love.update function / On clicking a button
  • LÖVE
    • downloading / Downloading LÖVE
    • basic structure / Basic structure of LÖVE, Examples, Conf.lua
    • quad / Sprites
    • in browser / LÖVE on browsers
    • on Android mobile phones / LÖVE on Android mobile phones
  • LÖVE, downloading
    • for Windows users / For Windows users
    • for Linux users / For Linux users
    • for Mac users / For Mac users
  • LÖVE game
    • running / Running a LÖVE game

M

  • Mac app
    • about / Mac apps
  • Mac users
    • LÖVE wiki, URL / For Mac users
    • LÖVE, downloading for / For Mac users
  • main.lua
    • editing / Examples
  • menu HUD
    • about / Menu HUD
  • mygame / Mac apps

O

  • objects
    • moving / Moving objects
    • rotating / Rotating objects
  • once mode / Animation

P

  • pickups
    • coins / Pickups, Coins
    • diamonds / Pickups, Diamonds
    • life / Pickups, Life
    • about / Pickups
  • PickupSound$play() / Coin sound
  • player
    • about / Player
  • player, anim8 library
    • movement / Player movement
    • collision, with platform / Player collision with platform
    • death / Player's death
    • drawing / Draw player
  • player.t value / Gravitation physics
  • player.vY value / Gravitation physics
  • player character
    • about / A player character
  • player spawn function / A player character

Q

  • quad
    • about / Sprites
  • Quad$flip / Player

R

  • RPGs / Role-playing games

S

  • score HUD
    • about / Score HUD
  • side-scrolling
    • URL / Planning your game
  • Sprite Maker tool
    • URL / Sprites
  • sprites
    • about / Sprites
    • Sprite Maker tool, URL / Sprites
    • by Marc Russell, URL / Sprites
  • static. Static / Audio system
  • structure, LÖVE
    • about / Basic structure of LÖVE
    • love.load() / Basic structure of LÖVE
    • love.draw() / Basic structure of LÖVE
    • example / Examples
    • conf.lua / Conf.lua

T

  • .tmx format / Exporting your tile map
  • Tiled
    • about / Getting started with Tiled
  • tile map
    • exporting / Exporting your tile map
  • Tile set
    • about / Tile set

U

  • update() function / Animation

V

  • variable
    • about / Rotating objects
  • video game
    • planning / Planning your game
    • isometric view, URL / Planning your game
    • side-scrolling, URL / Planning your game
    • strategy / Strategy
    • role-playing game / Role-playing games
    • adventure / Adventure
    • action / Action
    • simulation / Simulation
    • basic level design / Basic level design
    • assets, preparing / Getting your assets ready
    • player / Player
    • coin / Coin
    • antagonist / Antagonist
    • diamond / Diamond
    • executable format, creating / Windows executable

W

  • Windows
    • executable / Windows executable
  • Windows users
    • LÖVE, downloading for / For Windows users
lock icon The rest of the chapter is locked
arrow left Previous Section
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image