Skip to content

Useful components for raylib using the C++ programming language

License

Notifications You must be signed in to change notification settings

raylib-extras/extras-cpp

Repository files navigation

extras-cpp

Useful comonents for use the [Raylib](https://www.raylib.com/) library (C++ language version).

Building

raylib-extras is setup to use premake to generate static libraries and examples for Visual Studio 2022 and makefiles for gcc on linux/mac OS and mingw on windows. The system is based on game-premake and will download raylib for you. Please see https://github.com/raylib-extras/game-premake for more info.

Components

raylib-extras is broken up into modular components. Most components are designed to be used standalone.

rlColors.h

C++ versions of the built in raylib colors.

Cameras

There are 3 different camera controllers provided in raylib-extras. Each one is intended to show an example of a different way to move the camera around a scene.

rlFPCamera

This is a first person camera. It uses the traditional mouse and WASD keys for movement. It provides position and view angle data back to the calling application. See cameras/rlFPCamera/samples/example.cpp for a simple use case.

fpCamera

rlTPCamera

This is a third person camera. It uses the traditional mouse and WASD keys for movement. It follows a target position and lets the user rotate around that as it moves. See cameras/rlTPCamera/samples/example.cpp for a simple use case. tpCamera

Other langauges

raylib-extras is broken up into seperate repositories per language.

About

Useful components for raylib using the C++ programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published