4ker/lua-style-guide: Olivine Labs Lua Style Guide
love.exe
win portable: http://whudoc.qiniudn.com/2016/love-0.10.1-win64.7z
linux src: http://whudoc.qiniudn.com/2016/love-0.10.1-linux-src.tar.gz
tar -xvf love-0.10.1-linux-src.tar.gz
cd love-0.10.1
sudo apt-get install -y libsdl2-dev
sudo apt-get install -y libopenal1 libopenal-dev
sudo apt-get install -y libmodplug-dev
sudo apt-get install -y libvorbis-dev libvorbisfile3
sudo apt-get install -y libtheora-dev
sudo apt-get install -y libphysfs-dev
sudo apt-get install -y libluajit-dev
sudo apt-get install -y lua5.2
sudo apt-get install -y luarocks
sudo apt-get install -y libluajit-5.1-dev libluajit-5.1-common
sudo apt-get install -y libmpg123-dev
./configure
make
sudo make install
love --version
hello.lua
-> main.lua
-> main.zip
-> hello.love
hello.lua
function love.draw()
love.graphics.print("Hello World!", 400, 300)
end
./path/to/love.exe hello.love
like getchar()
hack for windows: "C:\Program Files\LOVE\love.exe" --console
via makefile, see district10/mari0: Mario + Portal game in LÖVE.
executable
Compress and uncompress files (zip files) - Windows Help
# win
copy /b love.exe+SuperGame.love SuperGame.exe
win, create a lovec.bat
: copy /b love.exe+%1 "%~n1.exe"
linux: cat love.exe SuperGame.love > SuperGame.exe
```
4ker/luapp: Using lua in C++ style. Build system is CMake. ♥
refs and see also