luaguides

Tutorial series

Lua Gamedev Love2d

8 tutorials — follow in order for the best learning path.

  1. Getting Started with LOVE 2D: Installation and First Game

    Getting started with LOVE 2D game development: install the engine on Windows, macOS, or Linux, understand the game loop, create windows, and draw shapes in Lua.

  2. Collision Detection Techniques

    Learn collision detection techniques in LÖVE2D with AABB bounding boxes, circle collision tests, tile-based systems, and the Box2D physics module.

  3. Playing Music and Sound Effects in LÖVE2D

    Learn to play music and sound effects in LÖVE2D games — load static and stream audio sources, control volume, pitch, looping, and 3D spatial positioning.

  4. Loading Tilemaps with STI in LÖVE2D

    Load working tilemaps in Love2D with STI. Covers Tiled setup, animations, tile properties, custom layers, and Box2D collision integration for your game levels.

  5. Managing Game States and Scenes in LÖVE2D

    Managing game states and scenes in LÖVE2D with hump.gamestate: handle menus, gameplay, pause screens, transitions, and save data across your game's lifecycle.

  6. Packaging and Distributing Your LÖVE2D Game

    Packaging and distributing your LÖVE2D game: create .love files, fuse Windows executables, bundle for macOS and Linux, manage save files, release on itch.io.

  7. Drawing Animation and Sprites in LOVE 2D

    Master drawing animation and sprite rendering in LOVE 2D: image loading, quad-based sprite sheets, frame-by-frame movement, and draw parameters.

  8. Keyboard, Mouse, and Gamepad Input

    Handle keyboard mouse and gamepad input in LÖVE2D. Covers callbacks, scancodes, deadzones, and the gotchas beginners hit.