Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

i just tried out the script, modified it to my project structure. boi oh boi this is what i needed. this is the first time succeeding having a web edition of any of my projects working. Don't know how to thank you, this is so freaking great :) 

Now I just have some errors when compiling it to web compared to standalone i need to have fixed. Etc one of the things in with generating a random numbers the arguments are switched from the web, but works on standalone, but thats managable :). Do you sometime face that some of your code works when its standalone and then needs modification to work when compiled as web? 

Just really happy to have this working finally, since i believe the size of games im making don't really make sense that you need to download to play.. Again thanks ma dude ! You should share your script on a open github repo. I belive many could benefit from this ! 

(+1)

i added the script to my github repo as well https://github.com/LazerLars/doveBlaster4000_love2d/blob/main/love_web_build.bat , i credited you in the script hope this is ok buddy, else let me know? "

@REM all credits goes to abhimonk

@REM script provided by https://itch.io/profile/abhimonk via comment @ https://itch.io/post/10552214 itch page: https://abhimonk.itch.io/ x page: https://x.com/abhisundu"

Thanks for the credit haha, looks great! totally ok with me

Glad to hear it worked out!

As for standalone vs web code: The main change I make is all my audio is loaded in “static” mode (including music) for the web, whereas in the downloadable version, the music is loaded in “stream” mode. Outside of that, I don’t think I have many other web-only changes.

I’ll definitely try to post some of this stuff to github, that’s a good idea!