love.js icon indicating copy to clipboard operation
love.js copied to clipboard

Build instructions

Open pablomayobre opened this issue 8 years ago • 6 comments

Is there a place with details on how to build this from source?

pablomayobre avatar Jul 03 '17 16:07 pablomayobre

Not really but it shouldn't be too hard. There are PRs for both megasource and love on bitbucket. Pull those down, use my branch of emscripten (it has various patches) and then you can use the build_lovejs.sh script after changing the paths.

TannerRogalsky avatar Jul 03 '17 16:07 TannerRogalsky

What about Lua and friends? What dependencies and versions are you currently using? or is that part of the megasource PR?

pablomayobre avatar Jul 03 '17 17:07 pablomayobre

Yeah, nothing special. Just what's in megasource.

TannerRogalsky avatar Jul 03 '17 17:07 TannerRogalsky

Do you know if it would be possible to incorporate bitops? It's normally bundled with LuaJIT but works with other non JIT versions, it would be cool to have it available in this port. EDIT: It should be possible, it's not using anything weird (macros everywhere)

Another alternative would be the Lua 5.2 bit32 library which can also be compiled as a separate module

pablomayobre avatar Jul 03 '17 17:07 pablomayobre

Additional dependencies are a matter for the love core team. The intention here is to get this functionality in the main repo so I'm aiming for as few changes as absolutely necessary.

That said, if you wanted to fork and add that library, it should be relatively straightforward.

TannerRogalsky avatar Jul 03 '17 17:07 TannerRogalsky

I see sounds good!

pablomayobre avatar Jul 03 '17 17:07 pablomayobre