* 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.
* chg: Modernize CI workflow, enable SourceLink
- Bump workflow actions to latest majors (Node 24); drop deprecated softprops/action-gh-release@v1
- Trigger push builds on main instead of master
- Create local nuget feed dir before pack (fixes NU1301)
- Enable Microsoft.SourceLink.GitHub for debugging symbols (ref PR #340)
* fix: centralized version data in Directory.build.props, and fixed various interop details that had incorrect function signatures
* chore: updated readme
* fix: version the native extract marker and chain download via DependsOnTargets
The .extracted marker now includes the raylib package name, so bumping
TargetRaylibTag re-extracts the new archive instead of silently keeping
(and packing/copying) the previous version's files.
_PrepareNativeLibrary and _StageWasmNative now depend directly on
_DownloadAndExtractInternal instead of CallTarget-ing it; dependency
targets run in the same project instance, so the resolved properties
(RaylibPackageName etc.) propagate naturally.
* fix: let the binding build for browser-wasm on both net8.0 and net10.0
The net8-era wasm workload (Microsoft.NET.Runtime.WebAssembly.Sdk 8.0.x,
auto-imported for RID browser-wasm) treats every browser-wasm project as
a wasm app: it forces OutputType=Exe after project evaluation (CS5001
for a classlib) and hooks its app-bundle build after Build, which errors
because a library has no assemblies to bundle. Opt Raylib-cs out via
DisableAutoWasmBuildApp (props time, before the workload defaults its
trigger) and pin OutputType back to Library in Directory.Build.targets
(evaluated after the workload props, so the assignment wins). net10's
wasm SDK needs neither workaround.
* chore: readme updated
* chg: simplifying build logic - a simple line in the documentation should save us the code here
* fix: Wrong signature of FrameBufferComplete
* chore: readme update
* feat: samples default to local project reference, and can optionally use the nuget package
* feat: backporting existing raylib-cs examples and new official raylib examples to WASM, adopting raylib's original code style
* chore: readme, gitignore, and targets backport.
* fix: Examples.csproj runs the download task when building locally
* feat: backporting existing raylib-cs examples and new official raylib examples to WASM, adopting raylib's original code style
* chore: readme, gitignore, and targets backport.
* chore: clean up linter warnings
* feat: html harness focuses the example and allows quick navigation with J/K instead.
* chore: readme mentions the property to use nuget vs. the local project reference
* feat: replaced the J/K navigation with good old HTML buttons
* chore: run dotnet format scoped default (was previously scoped to just 'style')
* 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.
* chg: Modernize CI workflow, enable SourceLink
- Bump workflow actions to latest majors (Node 24); drop deprecated softprops/action-gh-release@v1
- Trigger push builds on main instead of master
- Create local nuget feed dir before pack (fixes NU1301)
- Enable Microsoft.SourceLink.GitHub for debugging symbols (ref PR #340)
* fix: centralized version data in Directory.build.props, and fixed various interop details that had incorrect function signatures
* chore: updated readme
* fix: version the native extract marker and chain download via DependsOnTargets
The .extracted marker now includes the raylib package name, so bumping
TargetRaylibTag re-extracts the new archive instead of silently keeping
(and packing/copying) the previous version's files.
_PrepareNativeLibrary and _StageWasmNative now depend directly on
_DownloadAndExtractInternal instead of CallTarget-ing it; dependency
targets run in the same project instance, so the resolved properties
(RaylibPackageName etc.) propagate naturally.
* fix: let the binding build for browser-wasm on both net8.0 and net10.0
The net8-era wasm workload (Microsoft.NET.Runtime.WebAssembly.Sdk 8.0.x,
auto-imported for RID browser-wasm) treats every browser-wasm project as
a wasm app: it forces OutputType=Exe after project evaluation (CS5001
for a classlib) and hooks its app-bundle build after Build, which errors
because a library has no assemblies to bundle. Opt Raylib-cs out via
DisableAutoWasmBuildApp (props time, before the workload defaults its
trigger) and pin OutputType back to Library in Directory.Build.targets
(evaluated after the workload props, so the assignment wins). net10's
wasm SDK needs neither workaround.
* chore: readme updated
* chg: simplifying build logic - a simple line in the documentation should save us the code here
* fix: Wrong signature of FrameBufferComplete
* chore: readme update
* feat: samples default to local project reference, and can optionally use the nuget package
* fix: Examples.csproj runs the download task when building locally
* Sync of all the shaders from upstream + LoadFontData did not match anymore with C and crashed on MacOS
* Updated JuliaSet demo. Did not work with the new shader version.
* Removed unused `pause` variable from JuliaSet example.
---------
Co-authored-by: Meatcorps <info@meatcorps.nl>
* Updated target to Raylib 6 + synced invoke called with the changes in C. [WARNING: Breaking changes!]
* Added severial examples. Corrected towards the correct return type and add utilities to prevent working with pointers
* Additional resources from the Raylib repo.
* Fixed additional pinvokes to match with the new raylib bindings. [Warning breaking changes!]
* Fixing the QOL utils
* Fixing the Mesh struct
* Applying changes after review. Merged resources.LICENSE + raylib-cs.Native.csproj only targets dotnet8
* Updated README to reflect .NET 10 and Raylib 6 compatibility changes.
* Updated shader colors, adjusted car model scale, disabled HDR in SkyboxDemo, and fixed camera mode assignment. Removed unused `Capacity` field in FilePathList struct.
* Improved XML comments for consistency, fixed spacing and formatting across examples, added new resources to `resources.LICENSE`.
* Updated XML comment for `GetDirectoryFileCountEx` to clarify behavior and filtering options.
* Updated and clarified XML comments for methods and parameters, improved naming consistency, and refined shader-related functions. Renamed enums in `Shader.cs` for so it is inline with the upstream.
* Improved XML comments for clarity and consistency in `Model.cs` and `Mesh.cs`, updated method and variable names for better readability, and adjusted logic in span creation methods.
* Corrected XML comment capitalization in `Model.cs`.
---------
Co-authored-by: Meatcorps <info@meatcorps.nl>
* All the "var" variables were changed to explicit types on the raylib class
* "MakeDirectory" overload, and string version of "GetApplicationDirectory" and "GetWorkingDirectory" methods
* Added "Dimensions" property to "Texture2D"
* New overloads for the "LoadFileData" and "SaveFileData" methods
* Raymath's const "NativeLibName" is now referencing to "Raylib.NativeLibName"
* Color constructors are more readable
* Added "Dimensions" property to "Image"
* Changed all the "var" for explicit types on the "Logging" class
* Changed "Int64" for "long" on CBool, and using constructor on the operators instead setting the value manually
* Added indexer to "FilePathLists"
* Changed all "var" for explicit types on "Utf8Buffer"
* New "GetRandomSequence" method overloads in "Raylib.Utils" acepting "int" and "float"
* Added new extension "byte.Lerp"
* Added new extension "Log" for "TraceLogLevel"
* Constructors on Color no longer just truncate the float value, but also round it (+ 0.5f)
* New static method on Color, "Color.Lerp"
* Added static method "FromHSV" to Color
* Added new getter method "GetHSV" on Color
* Added index security on the FilePathList indexer
* Added Rectangle extension
* Added "MoveTowards" extensions to RaylibExtensions
* Added "TranslateLocal" and "TranslateGlobal" to Transform
* Removed unnecessary "partial" declarations
* Updating calls and docs
* Moved the "AudioCallback" delegate into the "AudioMixed.cs" File
* Properties and structs marked as read-only on the "Model.cs" file
* Updated the "README.md" to mentions Raylib-cs targets net6.0 and net8.0 (and also explicitly added that the
"STAThread" attribute comes from the "System" namespace)
* Added a few sizing utils to "Rectangle"
* Added "GetScreenCenter" to "Raylib.Utils"