Natsu 0.3.2-beta

This is a prerelease version of Natsu.
dotnet add package Natsu --version 0.3.2-beta                
NuGet\Install-Package Natsu -Version 0.3.2-beta                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Natsu" Version="0.3.2-beta" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Natsu --version 0.3.2-beta                
#r "nuget: Natsu, 0.3.2-beta"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Natsu as a Cake Addin
#addin nuget:?package=Natsu&version=0.3.2-beta&prerelease

// Install Natsu as a Cake Tool
#tool nuget:?package=Natsu&version=0.3.2-beta&prerelease                

Natsu Framework 🌸

Natsu, successor to Yoru Engine, is a versatile 2D game and app framework written in C#. It's lightweight, modular, and adaptable for various needs like software, games, and simulations.

Features

  • 📐 Interface-driven: Natsu makes it easy to work across different platforms. It uses interfaces to hide the platform-specific details, so developers can focus on building their app without needing to worry about the underlying platform, whether it's web, mobile, desktop, or backend.

  • 🧩 Extensibility: The modular design of Natsu means you can easily customize and extend it. Developers can add new features or tweak existing ones, tailoring the framework to suit the specific needs of each project. This flexibility lets you create just the right set of tools for your app or game - you could even build your own framework on top of Natsu!

  • ⚡ Performance: Performance is important for any app or game, and the simplicity of Natsu's design means that optimization is left in the hands of the developer, rather than the framework. Developers can optimize their code as needed to achieve the desired results.

Platforms

  • Desktop: Through the use of OpenTK, Natsu can be used to build high-performance desktop applications for Windows, macOS, and Linux.
  • Mobile (coming soon): Natsu can be used to build mobile applications for iOS and Android using MAUI.
  • Web (coming soon): Web applications can make Natsu even more flexible through the use of Blazor, WebAssembly, and SkiaSharp.

Benefits compared to Yoru Engine

Natsu was rewritten from scratch to break past the limitations of Yoru Engine. Here are some of the key improvements:

  • Non-Skia reliant: Yoru Engine was completely reliant on SkiaSharp for rendering, which made it difficult to port to other platforms. Natsu, on the other hand, primarily uses SkiaSharp for rendering and logic, but abstracts it away through interfaces making it easier to port to other platforms.

  • Transforms: Yoru Engine made it difficult to work with custom transforms, which belonged to an assigned Transform class. Natsu simplifies this by placing all Element transformations directly in the Element class, and makes it easier to work with animations and custom transforms.

  • Everything else: Natsu is a complete rewrite of Yoru Engine, so it's hard to list all the improvements. Just know that Natsu is more flexible, more powerful, and more efficient than Yoru Engine ever was - and it's constantly improving! 🚀

Acknowledgements

Natsu was built with inspiration from the following projects:

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Natsu:

Package Downloads
Natsu.Desktop

A cross-platform 2D game/application framework built with flexibility in mind.

Natsu.Templates

A cross-platform 2D game/application framework built with flexibility in mind.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.3.2-beta 75 1/1/2025
0.3.1-beta 45 1/1/2025
0.3.0-beta 41 1/1/2025
0.2.4-beta 47 12/22/2024
0.2.3-beta 38 12/22/2024
0.2.2-beta 43 12/22/2024
0.2.1-beta 43 12/21/2024
0.2.0-beta 48 12/21/2024
0.1.2-beta 51 12/4/2024
0.1.1-beta 46 12/1/2024
0.1.0-beta 51 11/30/2024