Raylib-cs unofficial guide!

Thanks to the amazing Raylib team for creating such a powerful and versatile game development library, and to the raylib-cs project for providing a C# wrapper for it.

This guide is here to help developers get started with Raylib-cs and use it in practical C# game development projects.

Notice

  • This guide is currently based on raylib-cs 7.0.2.
  • raylib-cs 7.0.2 targets Raylib 5.5.0.
  • I will update this guide when Raylib 6.0.0 is available for C#.
  • The documentation is based on .NET 10.0.
  • I use JetBrains Rider, but I will also include console commands where possible. So you can use any IDE you want.

Table of contents

Below you can find all sections in this guide. Each group is divided by difficulty level. Experience points, you could say :P

Beginner

Intermediate

  • Garbage Collector
  • ImGui
  • Web builds

Advanced

  • Performance do’s and don’ts