Love2D Program on Raspberry Pi

Discuss any ports of LÖVE to different platforms.
Post Reply
User avatar
Posts: 39
Joined: Mon Jun 06, 2016 9:28 pm
Location: United States

Love2D Program on Raspberry Pi

Post by icekiller8002 » Tue Oct 27, 2020 5:53 pm

Hello all,

I made a post about this exact subject a long time ago. Post Link:

I am interested in displaying an alarm clock on my TV. But not just an ordinary alarm clock, because once the alarm goes off, it has you solve a math problem in order to stop the alarm sound. For starters, I remade the program from scratch, so it has more optimized code than the program on my previous post! (.love file is attached) My goal is to get this program on a Raspberry Pi and display it on my TV. I currently use my laptop to power the whole program, and I use the TV as the laptop's monitor. However, I was hoping I could get this working on a Raspberry Pi that way it's not so intensive on my laptop. I have an image attached of what it currently looks like.

If you look closely on the image, I already purchased a numeric USB keypad used for keyboard input in the program, but I'm really confused on how to get to the next step by putting the Love2D program on a Raspberry Pi, and displaying it on my TV. If anyone knows how to do this, I would appreciate any feedback.

TL;DR: I made a math problem alarm clock and I want to display it on my TV using a Raspberry Pi.
(332.14 KiB) Downloaded 22 times

Code: Select all

function love.draw()"obey")

User avatar
Party member
Posts: 2338
Joined: Sun Oct 18, 2015 2:58 pm

Re: Love2D Program on Raspberry Pi

Post by pgimeno » Wed Oct 28, 2020 10:41 am

I got Löve running on the Pi by installing it via RetroPie. YMMV.

User avatar
Party member
Posts: 202
Joined: Tue Mar 22, 2016 1:10 pm
Location: SRS, Brazil

Re: Love2D Program on Raspberry Pi

Post by Sulunia » Mon Nov 09, 2020 5:17 pm


If you're running the latest raspbian, it's just a matter of installing it via this terminal command:

Code: Select all

sudo apt update && sudo apt install love -y
Afterwards, just run your game by navigating to the love project folder and typing in the terminal:

Code: Select all

love .
Don't check my github! It contains thousands of lines of spaghetti code in many different languages cool software! :neko:

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests