Lua and LÖVE for Beginning Game Developers
summary
Lua is a tiny single-file language (~200 KB) used to script the C++ LÖVE engine which handles pixels, sound and input across Windows, macOS, Linux and Android while iOS is nontrivial, and the runtime is about 60 MB. The demo builds a 2D random-roll app in ~30 lines using main.lua, event hooks love.load / love.draw and love.mousereleased, seeds RNG with os.time and math.random, loads fonts and PNGs, and packages by zipping the project and renaming it to .love.
AI-written summary · about
chapters (13)
- 0:00Start
- 4:32make a quick little sample application
- 5:44create a main lua file
- 6:45spend a little time learning the basics of lua
- 7:51give that window a title
- 8:39love game engine at its most basic is a window
- 8:57set a background color
- 9:27set your background color
- 11:22setting the x and y values
- 13:31throw everything into your project directory
- 17:40create a a table
- 25:34including all of our assets in the current directory
- 26:24unzip it








