Page 7 of 7

Re: Love2D builder

Posted: Mon May 29, 2023 2:07 pm
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!

Re: Love2D builder

Posted: Mon May 29, 2023 5:54 pm
by JesseWebb
Thanks, it works great. I starred your project on Github.

Re: Love2D builder

Posted: Thu Aug 10, 2023 10:02 pm
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?

Re: Love2D builder

Posted: Fri Aug 11, 2023 4:01 am
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.

Re: Love2D builder

Posted: Fri Aug 11, 2023 11:44 am
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)

Re: Love2D builder

Posted: Fri Aug 11, 2023 12:53 pm
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.

Re: Love2D builder

Posted: Fri Dec 08, 2023 2:14 am
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.

Re: Love2D builder

Posted: Sun Dec 10, 2023 1:07 pm
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.

Re: Love2D builder

Posted: Sat Dec 16, 2023 12:41 pm
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/