fennecs 0.5.3-beta
This is a prerelease version of fennecs.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package fennecs --version 0.5.3-beta
NuGet\Install-Package fennecs -Version 0.5.3-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="fennecs" Version="0.5.3-beta" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add fennecs --version 0.5.3-beta
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: fennecs, 0.5.3-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 fennecs as a Cake Addin #addin nuget:?package=fennecs&version=0.5.3-beta&prerelease // Install fennecs as a Cake Tool #tool nuget:?package=fennecs&version=0.5.3-beta&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
fennecs is a lightweight, performant, and expressive ECS library for game & simulations written in modern C#.
It's designed to be easy to use, with minimal boilerplate and no code generation or reflection required.
🚀 Quickstart
📦>
dotnet add package fennecs
Here's a simple example to get you started:
// Create a world
var world = new fennecs.World();
// Spawn an entity with a Position component
var entity = world.Spawn().Add<Vector3>();
// Create a query to update positions
var query = world.Query<Vector3>().Stream();
// Run the query
stream.For(
uniform: Time.deltaTime,
action: static (float dt, ref Vector3 position) =>
{
pos.Y -= 9.81f * dt;
}
);
🌟 Key Features
- Modern C# codebase targeting .NET 8
- Archetype-based storage for cache-friendly iteration
- Expressive, queryable relations between entities and components
- Easy parallelization of workloads across and within archetypes
- Zero codegen and minimal boilerplate
📚 Learn More
Check out the fennecs website for:
- 📖 API documentation
- 🍳 Cookbook with tasty recipes
- 🎮 Demo projects to get inspired
Happy coding! 🦊❤️
Product | Versions 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.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on fennecs:
Repository | Stars |
---|---|
outfox/fennecs
... the tiny C# ECS that loves you back!
|
|
Doraku/Ecs.CSharp.Benchmark
Benchmarks of some C# ECS frameworks.
|
Version | Downloads | Last updated | |
---|---|---|---|
0.5.14-beta | 389 | 10/30/2024 | |
0.5.13-beta | 53 | 10/30/2024 | |
0.5.12-beta | 58 | 10/29/2024 | |
0.5.11-beta | 159 | 9/25/2024 | |
0.5.10-beta | 1,104 | 7/21/2024 | |
0.5.9-beta | 122 | 7/20/2024 | |
0.5.8-beta | 403 | 7/4/2024 | |
0.5.7-beta | 226 | 6/15/2024 | |
0.5.6-beta | 67 | 6/15/2024 | |
0.5.5-beta | 236 | 6/12/2024 | |
0.5.4-beta | 273 | 6/11/2024 | |
0.5.3-beta | 61 | 6/11/2024 | |
0.5.2-beta | 74 | 6/11/2024 | |
0.5.1-beta | 408 | 6/7/2024 | |
0.5.0-beta | 178 | 6/5/2024 | |
0.4.6-beta | 408 | 5/30/2024 | |
0.4.5-beta | 87 | 5/29/2024 | |
0.4.2-beta | 1,082 | 5/23/2024 | |
0.4.1-beta | 92 | 5/23/2024 | |
0.4.0-beta | 94 | 5/22/2024 | |
0.3.5-beta | 108 | 5/12/2024 | |
0.3.0-beta | 83 | 5/9/2024 | |
0.2.0-beta | 119 | 3/9/2024 | |
0.1.1-beta | 368 | 3/4/2024 | |
0.1.0-beta | 99 | 3/1/2024 | |
0.0.7-pre | 86 | 2/25/2024 | |
0.0.6-pre | 80 | 2/25/2024 | |
0.0.5-pre | 82 | 2/23/2024 | |
0.0.4-pre | 84 | 2/21/2024 | |
0.0.3-pre | 87 | 2/9/2024 | |
0.0.2-pre | 80 | 2/9/2024 | |
0.0.1-pre | 96 | 2/6/2024 |