Watch
2
0
Fork
You've already forked raylib-cs
0
C# bindings for raylib, a simple and easy-to-use library to learn videogames programming http://www.raylib.com/
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
ChrisDill 5339ae06cb Fixed project naming
- Changed assembly name to match project.
2018-08-31 09:33:30 +01:00
Bindings Fixed project naming 2018-08-31 09:33:30 +01:00
Generator Added Raymath binding + Initial examples 2018-08-17 09:34:50 +01:00
.gitignore Added ExampleApplication build so you can test straight away. 2018-08-04 21:07:33 +01:00
LICENSE Added LICENSE 2018-07-13 14:51:05 +01:00
Raylib-cs.sln Alot of binding improvements! 2018-08-31 09:30:32 +01:00
README.md Alot of binding improvements! 2018-08-31 09:30:32 +01:00

Raylib-cs

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

Bindings:

  • Easings
  • Physac
  • Raygui
  • Raylib
  • Raymath

Installation

Tested on windows 10 64 bit using the mono compiler.

  1. Download the repository
  2. Run Bindings.exe in Bindings/bin/Debug/
using Raylib;
using static Raylib.rl;

static class Program
{
	public static void Main() 
	{
		InitWindow(640, 480, "Raylib-cs");

		while (!WindowShouldClose())
		{
			BeginDraw();

			ClearBackground(WHITE);
			DrawText("Hello, world!", 12, 12, 20, BLACK);

			EndDrawing();
		}
	
		CloseWindow();
	}
}

TODO:

  • Binding generator improvements
  • Managed bindings(Marhsall etc)
  • .Net Core support
  • Windows forms support
  • Finish examples
  • Add as a nuget package
  • Add templates
  • Add logos
  • Auto select x86/x64 dll as needed(currently only x64 dll included)

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.

Licensing

raylib-cs is licensed under an unmodified zlib/libpng license, which is an OSI-certified, BSD-like license that allows static linking with closed source software. Check LICENSE for further details.