chg: New build system that uses the officially distributed binaries, bumped version to 8.0.0, simplified git workflow, removed deprecated OpenGL 1.1 functionality.
This commit is contained in:
parent
ef98ca456a
commit
ccb74af7cd
20 changed files with 296 additions and 357 deletions
33
README.md
33
README.md
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Raylib-cs
|
||||
|
||||
C# bindings for raylib, a simple and easy-to-use library to learn videogames programming (www.raylib.com)
|
||||
C# bindings for raylib, a simple and easy-to-use library to learn video games programming (www.raylib.com)
|
||||
|
||||
[](https://github.com/raylib-cs/raylib-cs/graphs/contributors)
|
||||
[](LICENSE)
|
||||
|
|
@ -13,17 +13,30 @@ C# bindings for raylib, a simple and easy-to-use library to learn videogames pro
|
|||
Raylib-cs targets net8.0, net10.0 and uses the [official 6.0 release](https://github.com/raysan5/raylib/releases/tag/6.0)
|
||||
to build the native libraries.
|
||||
|
||||
### Version 8.0.0 of Raylib-cs supports the following runtimes:
|
||||
- **browser-wasm** *(raylib-6.0_webassembly)* 🆕
|
||||
- **linux-x64** *(raylib-6.0_linux_amd64)*
|
||||
- **osx-arm64** *(raylib-6.0_macos)*
|
||||
- **osx-x64** *(raylib-6.0_macos)*
|
||||
- **win-x64** *(raylib-6.0_win64_msvc16)*
|
||||
- **win-x86** *(raylib-6.0_win32_msvc16)*
|
||||
|
||||
The following frameworks are deprecated (fall back to Version 7.x if required):
|
||||
- net6.0 (end of life)
|
||||
|
||||
|
||||
## Status
|
||||
|
||||
Raylib-cs is passively maintained. Occasional updates may be released from time to time. Pull requests may be
|
||||
accepted if they don't have a large maintainence burden.
|
||||
accepted if they don't have a large maintenance burden.
|
||||
|
||||
## Installation - NuGet
|
||||
|
||||
This is the prefered method to get started.
|
||||
This is the preferred method to get started.
|
||||
|
||||
1) Pick a folder in which you would like to start a raylib project. For example "MyRaylibCSProj".
|
||||
2) Then from a terminal whilst in the directory you just created run the following commands. (Please keep in mind .NET should already be installed on your system).
|
||||
1) Pick a folder in which you would like to start a raylib project. For example, "MyRaylibCSProj."
|
||||
2) Then from a terminal (for example, a VSCode terminal), whilst in the directory you just created
|
||||
run the following commands. (Please keep in mind .NET should already be installed on your system)
|
||||
|
||||
```
|
||||
dotnet new console
|
||||
|
|
@ -34,9 +47,11 @@ dotnet add package Raylib-cs
|
|||
|
||||
[](https://www.nuget.org/packages/Raylib-cs/)
|
||||
|
||||
If you need to edit Raylib-cs source then you will need to add the bindings as a project (see below).
|
||||
If you need to edit the Raylib-cs source, then you will need to add the bindings as a project (see below).
|
||||
|
||||
Remember if you are trying to run the above commands in the terminal that you need to be *inside the intended project directory* (not just inside the solution directory) otherwise the command won't work.
|
||||
If you are new to using NuGet (or you've forgotten) and are trying to run the above command in the command prompt,
|
||||
remember that you need to be *inside the intended project directory* (not just inside the solution directory);
|
||||
otherwise the command won't work.
|
||||
|
||||
## Installation - Manual
|
||||
|
||||
|
|
@ -46,9 +61,9 @@ Remember if you are trying to run the above commands in the terminal that you ne
|
|||
|
||||
3. Download/build the native libraries for the platforms you want using the [official 6.0 release](https://github.com/raysan5/raylib/releases/tag/6.0). **NOTE: the MSVC version is required for Windows platforms**
|
||||
|
||||
4. Add the native libraries to your project so they are in the same directory as the executable/can be found in the [search path](https://www.mono-project.com/docs/advanced/pinvoke/).
|
||||
4. Set up the native libraries, so they are in the same directory as the executable/can be found in the [search path](https://www.mono-project.com/docs/advanced/pinvoke/).
|
||||
|
||||
6. Start coding!
|
||||
5. Start coding!
|
||||
|
||||
## Hello, World!
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue