Raylib-cs.BleedingEdge.Shared 5.5.0-dev-77

Suggested Alternatives

Raylib-cs.BleedingEdge.Runtimes

Additional Details

This package is no longer maintained due to structure changes being temporarily

This is a prerelease version of Raylib-cs.BleedingEdge.Shared.
dotnet add package Raylib-cs.BleedingEdge.Shared --version 5.5.0-dev-77
                    
NuGet\Install-Package Raylib-cs.BleedingEdge.Shared -Version 5.5.0-dev-77
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Raylib-cs.BleedingEdge.Shared" Version="5.5.0-dev-77" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Raylib-cs.BleedingEdge.Shared" Version="5.5.0-dev-77" />
                    
Directory.Packages.props
<PackageReference Include="Raylib-cs.BleedingEdge.Shared" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Raylib-cs.BleedingEdge.Shared --version 5.5.0-dev-77
                    
#r "nuget: Raylib-cs.BleedingEdge.Shared, 5.5.0-dev-77"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Raylib-cs.BleedingEdge.Shared@5.5.0-dev-77
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Raylib-cs.BleedingEdge.Shared&version=5.5.0-dev-77&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Raylib-cs.BleedingEdge.Shared&version=5.5.0-dev-77&prerelease
                    
Install as a Cake Tool

logo

Raylib-cs.BleedingEdge

C# bindings for raylib, a simple and easy-to-use library to learn videogames programming (www.raylib.com)

NuGet Downloads GitHub License Discord GitHub Repo stars GitHub commit activity GitHub Actions Workflow Status


Raylib-cs.BleedingEdge targets .NET 8+ and uses the master branch of raylib repo

To see examples, you can reference the Raylib-cs examples as this binding has mostly same function signatures (see code differences)

installation

You will need to install one of the following NuGet packages:

  • Base
    • Features only binding for raylib, without prebuilt library files. Requires manually compiled raylib
    • NuGet package
  • Shared
    • Features shared (dynamic) library, which is located near the executable when you build your project. While executable is less portable, it's easier to set up the project
    • NuGet package
  • Static

In case you need only prebuilt raylib, you can just install Raylib-cs.BleedingEdge.Runtimes.Static or Raylib-cs.BleedingEdge.Runtimes.Shared depending on your needs (read above)

basic example

using Raylib_cs.BleedingEdge;
using static Raylib_cs.BleedingEdge.Raylib;

const int screenWidth = 800;
const int screenHeight = 540;

InitWindow(screenWidth, screenHeight, "raylib [core] example - basic window");

while (!WindowShouldClose())
{
    BeginDrawing();
    ClearBackground(Color.RayWhite);
    
    DrawText("Congrats! You created your first window!", 190, 200, 20, Color.LightGray);
    
    EndDrawing();
}

CloseWindow();

differences from Raylib-cs

main differences

Raylib-cs Raylib-cs.BleedingEdge
.NET 6.0+ .NET 8.0+
Released 07-2018 Released 08-2024
raylib 5.0 raylib 5.5-dev (master)

API differences

There are minor enum value name differences, such as WindowHighDpi instead of HighDpiWindow, KbMenu instead of KeyboardMenu. Enum value names in this binding are same as in raylib, but renamed to match PascalCase

Raylib-cs Raylib-cs.BleedingEdge
using Raylib-cs using Raylib-cs.BleedingEdge
T[] for functions with pointers Span<T> for functions with pointers
int argument for the length of array -, use Span<T>.Slice if necessary
Utf8Buffer Utf8Handle
AudioCallback AudioMixedCallback
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.5.0-dev-77 88 10/15/2024 5.5.0-dev-77 is deprecated because it is no longer maintained.
5.5.0-dev-76 69 10/15/2024
5.5.0-dev-75 67 10/15/2024
5.5.0-dev-74 67 10/15/2024
5.5.0-dev-72 64 10/15/2024