Tangent128 / luasdl2

A pure C binding of SDL 2.0 for Lua 5.1, Lua 5.2, and LuaJIT.
ISC License
383 stars 73 forks source link

[Question] How to share ? #47

Closed MangelMaxime closed 7 years ago

MangelMaxime commented 8 years ago

Hello, I just discovered this repo and I am interested in using it but I have a question.

How can we share a game made with luasdl2 ? Is this possible to create some sort of installer ? Or self containing folder ?

Tangent128 commented 8 years ago

The particulars are outside the scope of this project, and there are probably far more complete resources available elsewhere, but you can package up a Lua application into a folder, yes.

I believe you'll need to include:

If on Linux or OSX, read up on LD_LIBRARY_PATH and ldd. On any system, read up on how Lua searches for modules.

MangelMaxime commented 8 years ago

Hum, ok. So the idea is the package all the libraries and lua requirement in one folder. Thanks for the information :)