Ayur is a lightweight, game development and creative coding framework built on Raylib (for now). The core functionality is implemented in C for optimal performance, while the API is designed in C# for ease of use.
Note: The framework is still in its early stages. We're currently working on a switch to SDL3 (via the
SDL3_Switch
branch). The SDL3 GPU support will be used for future 3D features, but for now, the SDL3 version only supports windowing.
- Core: Written in C for performance (currently using Raylib for windowing and color support).
- API: Easy-to-use C# API for rapid development.
- Lightweight: Perfect for small games and creative coding.
- Cross-platform: Integrates seamlessly with Visual Studio and supports multiple platforms.
- Future Plans:
- Improved C# API.
- Custom rendering & shaders.
- UI system.
- Scene & Entity systems.
- Full SDL3 support to replace Raylib entirely.
- CMake (min. version 3.21)
- C and C# compilers.
- Raylib (automatically fetched during the build process for now).
-
Install Dependencies:
sudo apt update sudo apt install build-essential cmake clang libglfw3-dev libgl1-mesa-dev
-
Clone the Repository:
git clone <repository-url> cd <repository-folder>
-
Build the Framework:
mkdir build && cd build cmake .. make
-
Run Example App:
dotnet run --project build/Framework/AyurCsharp.csproj
-
Install Visual Studio:
- Download Visual Studio (Community Edition is fine).
- Select the following workloads:
- Desktop development with C++.
- .NET Desktop development.
-
Clone the Repository:
git clone <repository-url> cd <repository-folder>
-
Build the Framework:
mkdir build && cd build cmake .. -G "Visual Studio 17 2022"
- Open
Ayur.sln
in Visual Studio. - Build the solution in Debug or Release mode.
- Open
-
Run Example App:
- Locate the built executable and run it.
Ayur is open-source and welcomes contributions! Feel free to:
- Fork the repo.
- Submit issues.
- Open pull requests.
Ayur is released under the MIT License, allowing free usage, modification, and distribution. See the LICENSE for more details.
Developed and maintained by ourabigdev (hatim).