2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-04-05 11:19:39 -04:00
raylib-cs/README.md
ChrisDill 5286546ad4 Added Raymath binding + Initial examples
- Added Raymath.cs binding. Raylib.cs depends on this since they both share some types.
- Bindings moved into source directly.
- Inital examples port alot of syntax still needs to be fixed.
- Couldn't get cppsharp to work correctly so using a custom generator(WIP).
2018-08-17 09:34:50 +01:00

48 lines
1.1 KiB
Markdown

# raylib-cs
C# bindings for raylib 2.0, a simple and easy-to-use library to learn videogames programming (www.raylib.com)
## Installation
Tested on windows 10 64 bit.
1. Download the repository
2. Run ExampleApplication.exe in ExampleApplication/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:
- Finish binding generator
- Use raylib in windows forms
- Bind physac, raygui, easings
## 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](LICENSE) for further details.