1 / 9

democoding made easy

democoding made easy. What is RetroArch. Crossplatform emulator/game/demo platform (well we can abuse it :D). What is RetroArch. Has tons of features like Custom Cg-based pixel shader support Audio DSP support Fast forward/rewind Rock solid GUI system Netplay

atalo
Télécharger la présentation

democoding made easy

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. democoding made easy

  2. What is RetroArch • Crossplatform emulator/game/demo platform (well we can abuse it :D)

  3. What is RetroArch • Has tons of features like • Custom Cg-based pixel shader support • Audio DSP support • Fast forward/rewind • Rock solid GUI system • Netplay • FFmpeg based recording (RIP kkapture)\ • And tons more…

  4. RetroArch’s API • Libretro: the base of it all • C based • Easy to implement • Straightforward • Allows for blitting to 2D surfaces (as well as FBO’s ;) )

  5. Implementing our demo • We need to implement as a DLL/SO/etc • Needs certain amount of exports: see demo sourcecode for example. • Think about crossplatform calls (stdlib?) • OpenGL 2/3/ES (non fixed function) is the key, unless you wanna go software or make your software not run on mobile systems. • We run per frame, not all at once. • Libretro treats top-left as origin. Be mindful! • YMMV with MSVC

  6. Our prod

  7. Summary • Cuts out the middleman (SDL, GLFW, etc) • Leaves you to code your prod • Dead simple to implement • Potential to easily target plenty of platforms • Fully open source

  8. Resources Website: www.libretro.org • Demo featured in this seminar: https://github.com/mudlord/bund (fixed function, code horrors beware!) • Emulators: https://github.com/libretro • Model viewer: https://github.com/libretro/modelviewer-libretro • Coding in OpenGL doc by Themaister: https://github.com/libretro/libretro.github.com/raw/master/documents/libretro-gl.pdf

  9. Resources • Doc on using the libretro API: https://github.com/libretro/libretro.github.com/raw/master/documents/libretro.pdf • Paper on Cg/HLSL shaders and game/demo aware shading: https://github.com/libretro/libretro.github.com/raw/master/documents/libretro-shader.pdf

More Related