DISCLAIMER:
Welcome to the raylib game template!
This template provides a base structure to start developing a small raylib game in plain C. The repo is also pre-configured with a default LICENSE (zlib/libpng) and a README.md (this one) to be properly filled by users. Feel free to change the LICENSE as required.
All the sections defined by $(Data to Fill) are expected to be edited and filled properly. It's recommended to delete this disclaimer message after editing this README.md file.
raylib-game-template should exist in the same directory as raylib itself. So, your file structure should look like this:
raylib
raylib-game-template
README.md and all other raylib-game-template filesraylib_game in the solution explorer, then in the toolbar at the top, click Project > Set as Startup ProjectLocal Windows Debugger with the green play arrow and the project will run.When setting up this template on linux for the first time, install the dependencies from this page: (Working on GNU Linux)
You can use this templates in a few ways: using Visual Studio, using CMake, or make your own build setup. This repository comes with Visual Studio and CMake already set up.
Chose one of the follow setup options that fit in you development environment.
mkdir ~/raylib-gamejam && cd ~/raylib-gamejam
git clone --depth 1 --branch 6.0 https://github.com/raysan5/raylib
make -C raylib/src
git clone https://github.com/$(User Name)/$(Repo Name).git
cd $(Repo Name)
make -C src
src/raylib_game
This template has been created to be used with raylib (www.raylib.com) and it's licensed under an unmodified zlib/libpng license.
Copyright (c) 2014-2026 Ramon Santamaria (@raysan5)

$(Your Game Description)
Keyboard:
TODO: Show your game to the world, animated GIFs recommended!.
This project sources are licensed under an unmodified zlib/libpng license, which is an OSI-certified, BSD-like license that allows static linking with closed source software. Check LICENSE for further details.
$(Additional Licenses)
Copyright (c) $(Year) $(User Name) ($(User Twitter/GitHub Name))
C
59.9%
Makefile
27.4%
HTML
8.7%
CMake
4.0%
DISCLAIMER:
Welcome to the raylib game template!
This template provides a base structure to start developing a small raylib game in plain C. The repo is also pre-configured with a default LICENSE (zlib/libpng) and a README.md (this one) to be properly filled by users. Feel free to change the LICENSE as required.
All the sections defined by $(Data to Fill) are expected to be edited and filled properly. It's recommended to delete this disclaimer message after editing this README.md file.
raylib-game-template should exist in the same directory as raylib itself. So, your file structure should look like this:
raylib
raylib-game-template
README.md and all other raylib-game-template filesraylib_game in the solution explorer, then in the toolbar at the top, click Project > Set as Startup ProjectLocal Windows Debugger with the green play arrow and the project will run.When setting up this template on linux for the first time, install the dependencies from this page: (Working on GNU Linux)
You can use this templates in a few ways: using Visual Studio, using CMake, or make your own build setup. This repository comes with Visual Studio and CMake already set up.
Chose one of the follow setup options that fit in you development environment.
mkdir ~/raylib-gamejam && cd ~/raylib-gamejam
git clone --depth 1 --branch 6.0 https://github.com/raysan5/raylib
make -C raylib/src
git clone https://github.com/$(User Name)/$(Repo Name).git
cd $(Repo Name)
make -C src
src/raylib_game
This template has been created to be used with raylib (www.raylib.com) and it's licensed under an unmodified zlib/libpng license.
Copyright (c) 2014-2026 Ramon Santamaria (@raysan5)

$(Your Game Description)
Keyboard:
TODO: Show your game to the world, animated GIFs recommended!.
This project sources are licensed under an unmodified zlib/libpng license, which is an OSI-certified, BSD-like license that allows static linking with closed source software. Check LICENSE for further details.
$(Additional Licenses)
Copyright (c) $(Year) $(User Name) ($(User Twitter/GitHub Name))
C
59.9%
Makefile
27.4%
HTML
8.7%
CMake
4.0%