All Projects → ChrisDill → Raylib Cs

ChrisDill / Raylib Cs

Licence: zlib
C# bindings for raylib, a simple and easy-to-use library to learn videogames programming

Programming Languages

csharp
926 projects

Projects that are alternatives of or similar to Raylib Cs

Cimgui
c-api for imgui (https://github.com/ocornut/imgui) Look at: https://github.com/cimgui for other widgets
Stars: ✭ 707 (+288.46%)
Mutual labels:  gamedev, binding
raylib-nelua
Raylib wrapper to nelua language
Stars: ✭ 27 (-85.16%)
Mutual labels:  gamedev, binding
Lovepotion
💖 Lua + LÖVE + 3DS = LövePotion
Stars: ✭ 166 (-8.79%)
Mutual labels:  gamedev
Magnum Examples
Examples for the Magnum C++11/C++14 graphics engine
Stars: ✭ 180 (-1.1%)
Mutual labels:  gamedev
Tracy
C++ frame profiler
Stars: ✭ 3,115 (+1611.54%)
Mutual labels:  gamedev
Rimlight
Customizable rimlight shader for Unity that includes pulsation and noise scrolling. Give your scenes that extra oomph!
Stars: ✭ 170 (-6.59%)
Mutual labels:  gamedev
React Native Donkey Kong
Donkey Kong remake using react-native-game-engine 🙉
Stars: ✭ 174 (-4.4%)
Mutual labels:  gamedev
Mgs Machinery
Unity plugin for binding machinery joint in scene.
Stars: ✭ 164 (-9.89%)
Mutual labels:  binding
Trial
Yet another Common Lisp game engine
Stars: ✭ 181 (-0.55%)
Mutual labels:  gamedev
Gtk Fortran
A GTK / Fortran binding
Stars: ✭ 171 (-6.04%)
Mutual labels:  binding
Gwork
Skinnable GUI with useful widget collection. Fork of GWEN.
Stars: ✭ 179 (-1.65%)
Mutual labels:  gamedev
Node Tree Sitter
Node.js bindings for tree-sitter
Stars: ✭ 172 (-5.49%)
Mutual labels:  binding
Nakama Godot Demo
A demo project with Godot engine and Nakama server.
Stars: ✭ 171 (-6.04%)
Mutual labels:  gamedev
Xygine
2D engine / framework built around SFML
Stars: ✭ 174 (-4.4%)
Mutual labels:  gamedev
Gooi
LÖVE GUI Library
Stars: ✭ 168 (-7.69%)
Mutual labels:  gamedev
Vxr
General purpose engine written in C++ with emphasis on materials rendering (PBR, clear coat, anisotropy, iridescence)
Stars: ✭ 181 (-0.55%)
Mutual labels:  gamedev
Node Postal
NodeJS bindings to libpostal for fast international address parsing/normalization
Stars: ✭ 165 (-9.34%)
Mutual labels:  binding
Alimer
Cross-platform game engine.
Stars: ✭ 172 (-5.49%)
Mutual labels:  gamedev
Uecs
Ubpa Entity-Component-System (U ECS) in Unity3D-style
Stars: ✭ 174 (-4.4%)
Mutual labels:  gamedev
Salva
2 and 3-dimensional fluid simulation library in Rust.
Stars: ✭ 182 (+0%)
Mutual labels:  gamedev

Raylib-cs Logo

Raylib-cs

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

GitHub contributors License

Chat on Discord GitHub stars

Build

Raylib-cs targets netstandard2.1 and supports netcoreapp3.0+ and net5.0.

Installation - NuGet

This is the prefered method to get started - The package is still new so please report any issues.

dotnet add package Raylib-cs --version 3.5.0

NuGet

If you need to edit Raylib-cs source then you will need to add the bindings as a project (see below).

Installation - Manual

  1. Download/Clone this repo

  2. Add Raylib-cs/Raylib-cs.csproj to your project as an existing project.

  3. Download the native libraries for the platforms you want to build for using the official 3.5.0 release. NOTE: the MSVC version is required for Windows platforms

  4. (Recommended) Put the native library for each platform under Raylib-cs/runtimes/{platform}/native/ (Optional) If you want to handle the native libraries yourself, make sure they are either in the same directory as the executable and/or can be found in the search path. See https://www.mono-project.com/docs/advanced/pinvoke/ for details.

  5. Start coding!

using Raylib_cs;

namespace HelloWorld
{
    static class Program
    {
        public static void Main()
        {
            Raylib.InitWindow(800, 480, "Hello World");

            while (!Raylib.WindowShouldClose())
            {
                Raylib.BeginDrawing();
                Raylib.ClearBackground(Color.WHITE);

                Raylib.DrawText("Hello, world!", 12, 12, 20, Color.BLACK);

                Raylib.EndDrawing();
            }

            Raylib.CloseWindow();
        }
    }
}

Physac-cs and Raygui-cs

There are UNSUPPORTED & EXPERIMENTAL bindings to physac and raygui. They are in separate projects not included in releases or via NuGet. Pull requests are welcome and encouraged.

Documentation

Examples for Raylib-cs can be found at Raylib-cs-Examples.

Details about Raylib-cs can be found on the Raylib-cs wiki.

Contributing

If you have any ideas, feel free to open an issue and tell me what you think. If you'd like to contribute, please fork the repository and make changes as you'd like. Pull requests are warmly welcome.

If you want to request features or report bugs related to the library (in contrast to this binding), please refer to the author's project repo.

License

See LICENSE for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].