🗂 Archived project — original page from 2015–2016 · ← back to main page

💜 PiLove

Löve2D on the Raspberry PI — Lua for games, SDL2 for speed, zero excuses

GitHub source →about Löve2D →

What it was

PiLove put the Löve2D game framework — SDL2 + OpenGL + Lua — into a burnable Raspbian image. Five minutes from download to running your first game: a favourite of hobbyists, classroom teachers and indie devs who wanted a zero-friction PI game platform.

How it was built

Version history

Classic quickstart

-- main.lua
function love.draw()
   love.graphics.print("Hello PiLove!", 400, 300)
end

Burn to an SD card (2GB+), boot, and that is your first game running natively on a PI. Login sysop/posys; the love binary lives at /usr/local/games/love-0.10.0/src/love. EGL/GLX errors over X? export SDL_VIDEODRIVER="rpi" or unset DISPLAY. Sound goes to analog (PulseAudio starts at boot); HDMI audio via hdmi_drive=2 in /boot/config.txt. Launch your favourite game from /etc/rc.local.

Why it mattered

Games are the gateway drug to programming. By making the toolchain invisible — download, burn, play — PiLove lowered the barrier to entry for hundreds of kids and beginners who wanted a PI and a rendering engine that just worked.

Löve2D is released under the generous ZLIB license. Raspberry PI is a trademark of the Raspberry PI Foundation.