RayLib - C games development library

  • Operating System: Raspbian
  • Website: www.raylib.com
  • RPI Version: RPi 1,2,3 Zero

RayLib 1.5 is one of the few C libraries primary intended to learn videogames programming and that let's you compile the same code for multiple platforms, from Raspberry Pi to Oculus Rift CV1.

After 5 months of really hard work (and 3 years since initial release), here it is the amazing new raylib 1.5. One of the few C libraries primary intended to learn videogames programming and that let's you compile the same code for multiple platforms, from Raspberry Pi to Oculus Rift CV1. This new version comes with a lot of features but probably the most amazing one is the support for Oculus Rift CV1 and VR simulator. It means, you can run your raylib games extremely easely in Oculus Rift CV1 but also, if you don't have an VR device connected, you can see an stereo rendering simulation with distortion... even on a Raspberry Pi!
raylib-first-person-example

Here it is a full list with main features:

  • VR support: raylib supports Oculus Rift CV1 and, additionally, supports simulated VR stereo rendering, independent of the VR device.
  • New materials system: now raylib supports standard material properties for 3D models, including diffuse-ambient-specular colors and diffuse-normal-specular textures.
  • New lighting system with support for up to 8 configurable lights of 3 types: point, directional and spot lights.
  • Complete gamepad support on Raspberry Pi: Now multiple gamepads can be easily configured and used; gamepad data is read and processed in raw mode in a second thread.
  • Redesigned physics module: physac module has been converted to header only and usage has been simplified. Performance has also been significantly improved.
  • Audio chiptunes support and mixing channels; added support for module audio music (.xm, .mod).
  • Other additions include a 2D camera system, render textures (for offline render) and support for legacy OpenGL 2.1 on desktop platforms.

You can download raylib from: http://www.raylib.com/

or fork the GitHub repo: https://github.com/raysan5/raylib

 You can try raylib code examples here: http://www.raylib.com/examples.htm. (Yes, they also run on web!)

You can try raylib game samples here: http://www.raylib.com/games.htm. (Yes, they also run on web!)

A forum is available to allow programming students to ask questions and show their raylib games: http://forum.raylib.com

As always, raylib includes full support for Raspberry Pi. All examples and sample games can run on it!

raylib-texture-example

 

Google

Additional information