Is there a way to create a web export from a love2d game?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
GeraltDieSocke
Prole
Posts: 1
Joined: Wed Jun 05, 2024 12:55 pm

Is there a way to create a web export from a love2d game?

Post by GeraltDieSocke »

Basically the title.
Is there a way to export my love2d game to web?

I'm consider using love2d for next game jam I will participate in, but for me a web export is a must.

Is there a way that works good?
User avatar
pgimeno
Party member
Posts: 3656
Joined: Sun Oct 18, 2015 2:58 pm

Re: Is there a way to create a web export from a love2d game?

Post by pgimeno »

Hello, welcome to the forums. Take a look at this repository:

https://github.com/Davidobot/love.js

I believe there's another one based on the same codebase, made by forum user Ivan, but I can't find it right away.
User avatar
ivan
Party member
Posts: 1915
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: Is there a way to create a web export from a love2d game?

Post by ivan »

Thank you for the mention, Pgimeno.
https://github.com/2dengine/love.js
My version uses the web assembly code by Davidobot with a better frontend written in JavaScript. No export or building step is required but you need a web server (preferably Apache)
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests