This is a sample C# project setup with raylib-cs for Visual Studio. Raylib is a simple game programming framework that is designed to be friendly to beginners. It is created by Ramon Santamaria (@raysan5).
The language binding is maintained at ChrisDill/Raylib-cs and is compatible with Raylib 4.0.
It is primarily intended for use by students in the Game Programming course at the Seattle Campus of the Academy of Interactive Entertainment.
To get started with this sample project, click the Use this template button up top to copy this repository to your own account. Then, follow the instructions in the Building section below.
Once you've got it working, check out its bindings file to learn about the C# API for Raylib or browse the example projects rewritten in C#.
raylib links - website / discord / reddit / raylib repo / c# bindings repo, api reference, examples
Building this project requires Visual Studio 2022 or newer.
This is written against .NET Core 6.0 and primarily supports Windows. Adjustments may be needed for other platforms.
Clone the repository and open the solution in Visual Studio. Both the solution and project should already be configured and ready to start working with. To test this, build and run the provided sample project.
The sample project that is provided is the basic window example from raylib-cs. Further examples can be found in its repository.
A full list of all methods and types made available via the binding can be found in the Raylib-cs repository.
MIT License - Copyright (c) 2019-2022 Academy of Interactive Entertainment
For more information, see the license file.
Third party works are attributed under thirdparty.md.