Skip to content

Utilities and common code for use with raylib

License

Notifications You must be signed in to change notification settings

zack-luan/raylibExtras

 
 

Repository files navigation

Raylib Extras HEAD

Utilities and shared components for use with raylib (https://www.raylib.com/)

This branch is for compatability with raylib git head (~3.8/4.0)

For compatability with raylib 3.7 please see https://github.com/JeffM2501/raylibExtras/tree/Raylib_3.7

For compatability with raylib 3.5 please see https://github.com/JeffM2501/raylibExtras/tree/Raylib_3.5

This project is under the ZLib/libpng License

Libraries

Raylib Extras is made up of two main libraries,

rlImGui

Simple ImGui bindings for raylib with image and icon support provided by Fork Awesome https://forkaweso.me/Fork-Awesome/.

rlExtrasC

This is a pure C library that can be build static or dynamic (DLL). It contains the following components.

FPCamera

A first person view camera system. Breaking changes from 3.5. BeginModeFP3DTexture has been removed, BeginModeFP3D now works for both the screeen and render textures.

TPOrbitCamera

A third person view camera system that orbits a target point based on mouse input

FreeCam

A free flight camera that does not have gimbal lock problems.

Frustum

Frustum extraction with functions for testing point, sphere, and Axis Alligned Bounding Box against it. Useful for view culling.

RLGeoTools (C)

Geometry Extensions for raylib, including functions to create dynamic meshes.

RLSprites

Sprite Management system

rlExtrasCPP

This is a C++ library that can be build static. It contains the following components.

FPCamera

A first person view camera system with support for user settable near and far clipping planes.

RLSprites

Sprite Management system

RLAssets

A simple asset management system

Building

Raylib Extras uses premake, a premake5.lua file is included in the repository. Simply use it to create the build files for your target system. See https://premake.github.io/ for more info. The repository also uses raylib as a submodule in the raylib folder so it can build the examples.

Examples will be included in the project files generated by premake.

build on windows with visual studio

  1. download premake5.exe from https://premake.github.io/
  2. copy it into the raylib extras folder
  3. run premake.bat

Premake will then generate all the visual studio projects needed. You can open them with the RaylibExtras.sln that will be created in the root folder of the repository.

Other platforms will work in a similar way.

Extra Extras

Premake

Premake scripts for raylib alone and a sample game project.

RLTiles_CPP

Exprimental tiled reading and rendering for raylib.

All compoents are licensed under the MIT license.

Contributors

Many thanks to those that have submited fixes and updates to Raylib Extras.

Do you want to contribute to raylibExtras? Check out CONTRIBUTING

About

Utilities and common code for use with raylib

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 88.0%
  • C++ 11.8%
  • Other 0.2%