2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-06-30 19:03:42 -04:00

Update to raylib 4.2 (#117)

Update bindings to use raylib 4.2.0. Review comments and utils.
This commit is contained in:
2022-10-01 12:27:25 +01:00
committed by GitHub
parent 65d9150ec4
commit 0d994b0992
10 changed files with 325 additions and 126 deletions

View File

@ -2,7 +2,7 @@
# Raylib-cs
C# bindings for raylib 4.0.0, a simple and easy-to-use library to learn videogames programming (www.raylib.com)
C# bindings for raylib 4.2.0, a simple and easy-to-use library to learn videogames programming (www.raylib.com)
[![GitHub contributors](https://img.shields.io/github/contributors/ChrisDill/Raylib-cs)](https://github.com/ChrisDill/Raylib-cs/graphs/contributors)
[![License](https://img.shields.io/badge/license-zlib%2Flibpng-blue.svg)](LICENSE)
@ -19,7 +19,7 @@ Raylib-cs targets net5.0 and net6.0.
This is the prefered method to get started - The package is still new so please report any [issues](https://github.com/ChrisDill/Raylib-cs/issues).
```
dotnet add package Raylib-cs --version 4.0.0.2
dotnet add package Raylib-cs --version 4.2.0
```
[![NuGet](https://img.shields.io/nuget/dt/raylib-cs)](https://www.nuget.org/packages/Raylib-cs/)
@ -32,7 +32,7 @@ If you need to edit Raylib-cs source then you will need to add the bindings as a
2. Add [Raylib-cs/Raylib-cs.csproj](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 4.0.0 release](https://github.com/raysan5/raylib/releases/tag/4.0.0).
3. Download the native libraries for the platforms you want to build for using the [official 4.2.0 release](https://github.com/raysan5/raylib/releases/tag/4.2.0).
**NOTE: the MSVC version is required for Windows platforms**
4. **(Recommended)** Put the native library for each platform under `Raylib-cs/runtimes/{platform}/native/`