Skip to content

ShidoBox/Raylib-Basic-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raylib - Basic Project

This is a little template that gives you small start to begin with raylib. Instead of the traditional example of opening a window, this example aims to create a more dynamic and interesting one. It was a rotating cube, using different modules of raylib, such as raygui, rlgl and raymath.

Final Goal

This was tested on Linux and Windows 10, using CLion and VScode. Feel free to contribute 😃.

Instructions

Linux | Windows (Using MINGW)

Using a script

If you have python installed on your computer, make the necessary configurations on the setup.py file and run the script.

Compiled from source

If you compiled raylib from source, copy the raylib.h,raymath.hand rlgl.h files located at (raylib/src/) to the include folder of this project. You will also need the raygui.h file, there is a copy at raylib/examples/shapes, but is recommended that you use the version of the official repo. After that, just copy the compiled file libraylib.a (raylib/libraylib.a on linux or raylib/src/libraylib.a on Windows) to the lib folder of this project.

Using precompiled files

If you want, you can download the binaries correspondent to your platform, extract them and move the include and lib folders to the ones with the correspondent names in this project. After that, put necessary dependencies for this project (raygui, rlgl e raymath) in the include folder.

Releases

No releases published

Packages

No packages published