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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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]]

About

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


Languages

Language:C 98.9%Language:Lua 1.0%Language:Batchfile 0.1%Language:Shell 0.0%