mirror of
https://github.com/libretro/libretro-lutro.git
synced 2024-11-26 18:10:29 +00:00
An experimental lua game framework for libretro following the LÖVE API
06b03a2494
Some checks failed
CI / build_linux (push) Has been cancelled
CI / build_linux_jit (push) Has been cancelled
CI / build_linux_luasocket (push) Has been cancelled
CI / build_linux_armv7_neon (push) Has been cancelled
CI / build_osx (push) Has been cancelled
CI / build_osx_jit (push) Has been cancelled
CI / build_osx_luasocket (push) Has been cancelled
CI / build_windows (push) Has been cancelled
CI / build_windows_jit (push) Has been cancelled
CI / build_windows_luasocket (push) Has been cancelled
tvos: properly set min supported version |
||
---|---|---|
.github/workflows | ||
deps | ||
examples | ||
jni | ||
libretro-common | ||
msbuild | ||
test | ||
tests/audio | ||
.editorconfig | ||
.gitignore | ||
.gitlab-ci.yml | ||
audio_mixer.h | ||
audio.c | ||
audio.h | ||
AUTHORS | ||
decoder.c | ||
decoder.h | ||
event.c | ||
event.h | ||
filesystem.c | ||
filesystem.h | ||
graphics.c | ||
graphics.h | ||
image.c | ||
image.h | ||
input.c | ||
input.h | ||
joystick.c | ||
joystick.h | ||
keyboard.c | ||
keyboard.h | ||
libretro.c | ||
LICENSE | ||
link.T | ||
live.c | ||
live.h | ||
lutro_assert.h | ||
lutro_math.c | ||
lutro_math.h | ||
lutro_stb_image.c | ||
lutro_stb_image.h | ||
lutro_window.c | ||
lutro_window.h | ||
lutro.c | ||
lutro.h | ||
lutro.sln | ||
Makefile | ||
Makefile.common | ||
mouse.c | ||
mouse.h | ||
painter.c | ||
painter.h | ||
README.md | ||
runtime.c | ||
runtime.h | ||
sound.c | ||
sound.h | ||
system.c | ||
system.h | ||
timer.c | ||
timer.h |
Lutro
Experimental Lua game framework for libretro, following the LÖVE API.
Lutro is software rendered and implements only a subset of the LÖVE API. It targets portability though the libretro API and backed in dependancies.
Sample Games
- https://github.com/kivutar/onion-kidd
- https://github.com/kivutar/love-vespa
- https://github.com/kivutar/lutro-spaceship
- https://github.com/libretro/lutro-platformer
- https://github.com/libretro/lutro-game-of-life
- https://github.com/libretro/lutro-snake
- https://github.com/libretro/lutro-tetris
- https://github.com/libretro/lutro-iyfct
- https://github.com/libretro/lutro-sienna
- https://github.com/libretro/lutro-pong
Usage
Through RetroArch, use the Lutro core to load the game's source directory:
retroarch -L libretro_lutro.so path/to/gamedir/
Alternatively, you can load a compressed .lutro
file:
retroarch -L libretro_lutro.so game.lutro
Build
Compile Lutro by installing the RetroArch dependencies, and running:
make
There are a few optional defines you can use to change how Lutro behaves.
make HAVE_COMPOSITION=1
Enables alpha-blending.
Test
Run the Lutro testing suite by executing:
make test
To run tests manually, run:
retroarch -L path/to/lutro_libretro.so test