basic starter example common with main.lua and app.lua layers (so you can have a glimpse of this style).
for more: arkenidar/graphic gh repo https://github.com/arkenidar/graphic
file | purpose |
---|---|
app.lua | luajit app |
main.lua | love2d app |
common.lua | common parts |
- Manjaro GNU/Linux:
pamac install luajit sdl2 sdl2_image
pamac install love
- MS Windows: (MSYS with MinGW)
pacman -S mingw-w64-x86_64-luajit
pacman -S mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL2_image
- Debian GNU/Linux:
sudo apt install love
sudo apt install luajit libsdl2-dev libsdl2-image-dev
- launch app.lua with
luajit app.lua
- launch main.lua with
love .
- path.lua = 'c:/msys64/mingw64/bin/luajit.exe'
- path.lua= [[C:\opt\Dropbox\gh-repos\starter-luajit-sdl\ms-windows-binaries\luajit_mconsole.exe]]