Love2D builder

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
ivan
Party member
Posts: 1915
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: Love2D builder

Post by ivan »

Hello Jesse and thank you so much for the feedback.
Yes, I am in the process of rewriting the website so things may break down temporarily.
I have just pushed an update and the builder seems to be working fine at the time of this post.
You may need to open the page in incognito mode if you are experiencing any errors.
Really sorry about the inconvenience!
User avatar
JesseWebb
Prole
Posts: 12
Joined: Sun Dec 01, 2019 12:56 pm
Location: The Old World
Contact:

Re: Love2D builder

Post by JesseWebb »

Thanks, it works great. I starred your project on Github.
User avatar
knorke
Party member
Posts: 274
Joined: Wed Jul 14, 2010 7:06 pm
Contact:

Re: Love2D builder

Post by knorke »

Tonight, for the first time, I was able to upload a .love file to the 2denigine webbuilder and the resulting file did run when uploaded to itch.io
That is very nice for lazy game-makers like me who are looking for the easiest option to create a in-browser version. Thanks for your continued work on this.
(For reference, the previous problems are in the posts starting here: viewtopic.php?p=251934#p251934 )

One problem I noticed is that the music does not play properly: It stops after one second of playback.
https://gutholz.itch.io/dampfzapfer - site is password protected: 123
Skip the introduction-comic by clicking a few times and then toggle music on/off via the button on right side. Each time the music only plays for a short moment.
I did not try to debug it yet, it might be a mistake in my code. However, it works locally.

There is this other webbuilder:
https://schellingb.github.io/LoveWebBuilder/run-project
It has a nice feature: You can upload a .love file and test it "locally."
Without having to upload the resulting file to a server/website. Maybe that can be added?
User avatar
ivan
Party member
Posts: 1915
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: Love2D builder

Post by ivan »

Thank you for using the lovebuilder/love js
knorke wrote: Thu Aug 10, 2023 10:02 pm One problem I noticed is that the music does not play properly: It stops after one second of playback.
This is an issue with the compat/release version. It is a known bug according to Davidobot.
knorke wrote: Thu Aug 10, 2023 10:02 pm It has a nice feature: You can upload a .love file and test it "locally."
Without having to upload the resulting file to a server/website. Maybe that can be added?
It is possible, but I have a few concerns with republishing anonymously uploaded love files. Maybe we can support that feature sometime in the future, but it is not that simple.
User avatar
knorke
Party member
Posts: 274
Joined: Wed Jul 14, 2010 7:06 pm
Contact:

Re: Love2D builder

Post by knorke »

ivan wrote: Fri Aug 11, 2023 4:01 am
knorke wrote: Thu Aug 10, 2023 10:02 pm One problem I noticed is that the music does not play properly: It stops after one second of playback.
This is an issue with the compat/release version. It is a known bug according to Davidobot.
I found this comment in the bugtracker:
https://github.com/TannerRogalsky/love. ... -462782887
After changing the music from "stream" to "static" it does work now.

Code: Select all

bgmSource =love.audio.play("orgelgabsnichtmehr.mp3", "stream", true)
bgmSource =love.audio.play("orgelgabsnichtmehr.mp3", "static", true)
User avatar
ivan
Party member
Posts: 1915
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: Love2D builder

Post by ivan »

Yes, using "static" instead of "stream" is one possible solution although it is not ideal because static mode preloads the entire audio file in memory which is slow.

Please use the following repository:
https://github.com/Davidobot/love.js

Also note that my version can run games based on a dynamic parameter (without building at all):
https://github.com/2dengine/love.js

There are a few other minor issues with love.js. If we can get a little bit of help with the web assembly files this could possibly become an official love2d release.
User avatar
knorke
Party member
Posts: 274
Joined: Wed Jul 14, 2010 7:06 pm
Contact:

Re: Love2D builder

Post by knorke »

I just noticed that the builder now creates an installer, instead of an .exe that can be played directly.I
I would like an option to use the old way, just the .exe file.
User avatar
ivan
Party member
Posts: 1915
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: Love2D builder

Post by ivan »

I recommend pulling the source code from Github and reverting back to the previous version while it is still available.

Please note that lovebuilder is going to become closed-source due to a few irreconcilable issues:
- it is not possible to build Love2D games using pure PHP (the project depends on too many third party binaries)
- maintaining lovebuilder as an open source project puts me in the unfortunate position where I have to provide support for the configuration of third party tools
- I posted about this project on Discord too however nobody from the community wants to provide assistance or test the builds

Thank you for your understanding.
User avatar
ivan
Party member
Posts: 1915
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: Love2D builder

Post by ivan »

Good news, the 2dengine builder now supports Love 11.3, 11.4 and 11.5.
Android APK support is also available to users who have a 2dengine account:
https://2dengine.com/builder/
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests