Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arkenidar/starter-luajit-sdl-love2d

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/starter-luajit-sdl-love2d

common layers love2d luajit msys2-mingw64 sdl2

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# starter-luajit-sdl-love2d
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 |

# additional setup (one time)
- **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`

# launching (from repo folder)
- launch app.lua with `luajit app.lua`
- launch main.lua with `love .`

# ZeroBraneStudio tweaks
- path.lua = 'c:/msys64/mingw64/bin/luajit.exe'
- path.lua= [[C:\opt\Dropbox\gh-repos\starter-luajit-sdl\ms-windows-binaries\luajit_mconsole.exe]]