A graphic framework and set of toolkits for making basic UI application and 2D game (right now) target to support as many platforms as possible. Backed by .NET.
See sample app repository for example.
Some incomplete documentation is in wiki, or the API reference you can check the API reference site.
- .NET 10.0 SDK
- We recommend to use IDE like Visual Studio, Rider or VS Code for development with this framewor
git clone --recurse-submodules https://github.com/HelloYeew/sakura
cd sakura
dotnet restore
# Run visual test
cd Sakura.Framework.Tests
dotnet runNote : --recurse-submodules is required to pull the SPIRV-Cross submodule used by Sakura.Framework.SPIRV.
If you need to rebuild a native library :
FFmpeg:
# macOS
bash Sakura.Framework.NativeLibraries/script/ffmpeg/build-macos.sh
# Android (requires ANDROID_NDK_ROOT set)
bash Sakura.Framework.NativeLibraries/script/ffmpeg/build-android.sh
# iOS (requires gas-preprocessor)
bash Sakura.Framework.NativeLibraries/script/ffmpeg/build-iOS.shContributing via pull requests, suggestions, or bug reports via issues is welcome.
Some part of this framework generated by source generator to reduce boilerplate code.
See wiki for more detail.
For reference on the generated code, see the generated source repository.
This project is licensed under the MIT license. Please see the license file for more information. tl;dr you can do whatever you want as long as you include the original copyright and license notice in any copy of the software/source.
The fonts used as the default font in this framework are licensed under SIL Open Font License 1.1.