LinuxAlternative

Linux · Games

LÖVE

LÖVE is a lightweight 2D game framework for Lua, used to build and run games on Linux and other platforms.

Open sourceFreeFlatpak
Be the first to rate
License
Zlib
Latest version
11.5 (December 3, 2023)
Developer
Love2d Developers
Installs
508 (Flathub, 30 days)

What is LÖVE?

LÖVE, short for Love2D, began as a hobby project in 2008 and has grown into a mature framework with a stable API and a large community. It lets developers write games in Lua and ship them as single executables or packages for Windows, macOS, Linux, and mobile. The framework is actively maintained, with the latest release 11.5 coming out in December 2023.

It is aimed at indie developers, hobbyists, and educators who want a quick way to prototype or produce 2D games without a heavy engine. The learning curve is shallow because Lua is simple and the API is well‑documented.

Compared to GameMaker Studio, LÖVE feels more hands‑on and flexible. You write code directly, so there’s no visual scripting layer, but you also avoid the licensing costs and the need for a proprietary IDE. The workflow is script‑centric and lightweight, making it a good fit for those who prefer code over drag‑and‑drop tools.

Best for: Indie developers and hobbyists who want a free, lightweight 2D game engine with a code‑centric workflow.

Key features of LÖVE

  • Lua scripting language
  • Cross‑platform builds (Windows, macOS, Linux, Android, iOS)
  • Built‑in physics, audio, and graphics modules
  • Support for external libraries via LuaRocks
  • Simple project structure and single executable output
  • Active community and extensive documentation

Pros

  • Free and open source
  • Lightweight and fast
  • Extensive cross‑platform support
  • Good community resources
  • No licensing fees

Cons

  • Limited 3D capabilities
  • No visual editor, all code‑based
  • Learning Lua may be a hurdle for non‑programmers
  • Documentation can be sparse for advanced features

Windows programs LÖVE replaces

How to install LÖVE on Linux

Flatpak (Flathub)flatpak install flathub org.love2d.love2d
Ubuntu / Mintsudo apt install love
Debiansudo apt install love
Fedorasudo dnf install love
Arch / Manjarosudo pacman -S love
openSUSEsudo zypper install love

Tips for Windows users

If you’re moving from GameMaker Studio, expect to replace the drag‑and‑drop interface with Lua scripts. Game assets (images, sounds, fonts) can be used directly; you’ll just need to load them in Lua with love.graphics or love.audio. Keyboard shortcuts differ: LÖVE uses standard OS shortcuts for the editor you choose (e.g., VS Code, Sublime). The build process is manual: run love . in a terminal or create a wrapper script. Packaging for distribution is done via the platform’s packaging tools (e.g., AppImage, Flatpak).

Recent releases

  • 11.5 —
  • 11.4 —

    - Added a variant of love.filesystem.newFileData which accepts a Data object. - Added Body:getLocalPoints. - Added Font:getKerning. - Added support for r16, rg16, and rgba16 pixel formats in Canvases. - Added Shader:send(name, matrixlayout, data, ...)…

  • 11.3 —

LÖVE: frequently asked questions

Is LÖVE free to use?

Yes, LÖVE is released under the Zlib license, so it is free for personal and commercial use.

Can I export my LÖVE game to Windows?

Absolutely. LÖVE provides a Windows executable that bundles the Lua runtime and your game files.

Does LÖVE support physics?

It includes a simple physics module based on Box2D, sufficient for most 2D games.

How do I add external libraries?

Use LuaRocks to install packages, then require them in your Lua code.

Updated