mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-09-09 03:01:41 -04:00
Merge branch '4.0' of https://github.com/ChrisDill/Raylib-cs into 4.0
This commit is contained in:
10
README.md
10
README.md
@@ -1,4 +1,4 @@
|
|||||||

|

|
||||||
|
|
||||||
# Raylib-cs
|
# Raylib-cs
|
||||||
|
|
||||||
@@ -12,14 +12,14 @@ C# bindings for raylib 4.0.0, a simple and easy-to-use library to learn videogam
|
|||||||
|
|
||||||
[](https://github.com/ChrisDill/Raylib-cs/actions?query=workflow%3ABuild)
|
[](https://github.com/ChrisDill/Raylib-cs/actions?query=workflow%3ABuild)
|
||||||
|
|
||||||
Raylib-cs targets netstandard2.1 and supports netcoreapp3.0+ and net5.0+.
|
Raylib-cs targets net6.0.
|
||||||
|
|
||||||
## Installation - NuGet
|
## Installation - NuGet
|
||||||
|
|
||||||
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).
|
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
|
dotnet add package Raylib-cs --version 4.0.0-alpha.1
|
||||||
```
|
```
|
||||||
|
|
||||||
[](https://www.nuget.org/packages/Raylib-cs/)
|
[](https://www.nuget.org/packages/Raylib-cs/)
|
||||||
@@ -30,7 +30,7 @@ If you need to edit Raylib-cs source then you will need to add the bindings as a
|
|||||||
|
|
||||||
1. Download/Clone this repo
|
1. Download/Clone this repo
|
||||||
|
|
||||||
2. Add Raylib-cs/Raylib-cs.csproj to your project as an existing project.
|
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.0.0 release](https://github.com/raysan5/raylib/releases/tag/4.0.0).
|
||||||
**NOTE: the MSVC version is required for Windows platforms**
|
**NOTE: the MSVC version is required for Windows platforms**
|
||||||
@@ -40,6 +40,8 @@ If you need to edit Raylib-cs source then you will need to add the bindings as a
|
|||||||
|
|
||||||
5. Start coding!
|
5. Start coding!
|
||||||
|
|
||||||
|
## Hello, World!
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using Raylib_cs;
|
using Raylib_cs;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user