This is a libretro core implementation. Keep in mind thats my first take on writing a libretro core and my first time using dlang.
At the moment this is a minimal implementation (a skeletor port), it simply draw a background and a rectangle.
Make sure to have dlang and dub installed and available into your path.
Build the core using dub:
dub
Run retroach, of course it should run with any libretro front, but that's the one i'am using:
path/to/retroarch -v -L path/to/this/repo/lib/libdretro-core.{dylib,so}
-v
option is optional i use it to debug my core since it makes retroarch verbose.
- Translating libretro.h to dlang using dstep and fixing manually some errors (trying to compile the
libretro.d
file) - Print a rectangle (Handle the frame buffer and draw a AA rectangle to it)
- Handle input
- Minimal game scene (moving square)
- Handle audio
- Include mruby so you can script your core in ruby
- Build a pico8 like platform