FosterFramework 0.1.6-alpha

This is a prerelease version of FosterFramework.
There is a newer version of this package available.
See the version list below for details.
dotnet add package FosterFramework --version 0.1.6-alpha
                    
NuGet\Install-Package FosterFramework -Version 0.1.6-alpha
                    
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="FosterFramework" Version="0.1.6-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FosterFramework" Version="0.1.6-alpha" />
                    
Directory.Packages.props
<PackageReference Include="FosterFramework" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FosterFramework --version 0.1.6-alpha
                    
#r "nuget: FosterFramework, 0.1.6-alpha"
                    
#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.
#addin nuget:?package=FosterFramework&version=0.1.6-alpha&prerelease
                    
Install FosterFramework as a Cake Addin
#tool nuget:?package=FosterFramework&version=0.1.6-alpha&prerelease
                    
Install FosterFramework as a Cake Tool

<p align="center"> <img width="480" src="Foster.png" alt="Foster logo"> </p>

Foster

Foster is small cross-platform 2D game framework in C#.

★ very work in progress! likely to have frequent, breaking changes! please use at your own risk! ★

To use the framework either

  • add a refence to the NuGet package,
  • or clone this repository and add a reference to Foster/Framework/Foster.Framework.csproj.

There is a Samples repo which contains various demos and examples which can help you get started.

Check out Discussons or Discord to get involved.

Dependencies

Platform Library

Rendering

  • Implemented in OpenGL for Linux/Mac/Windows and D3D11 for Windows.
  • Separate Shaders are required depending on which rendering API you're targetting.
  • Planning to replace the rendering implementation with SDL3 GPU when it is complete.

Notes

  • Taken a lot of inspiration from other Frameworks and APIs, namely FNA.
  • This is the second iteration of this library. The first can be found here.
  • Contributions are welcome! However, anything that adds external dependencies or complicates the build process will not be accepted.
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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.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 (3)

Showing the top 3 NuGet packages that depend on FosterFramework:

Package Downloads
PineFramework

Foster's extension adding more features https://github.com/FosterFramework/Foster

FosterFramework.Extensions.Scenes

Package Description

FosterImGUI

An ImGUI wrapper for the Foster Framework!

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on FosterFramework:

Repository Stars
EXOK/Celeste64
A game made by the Celeste developers in a week(ish, closer to 2)
Version Downloads Last updated
0.2.1 272 2/3/2025
0.2.0 191 1/28/2025
0.1.21-alpha 69 1/14/2025
0.1.19-alpha 83 1/14/2025
0.1.18-alpha 3,828 2/6/2024
0.1.17-alpha 265 2/5/2024
0.1.16-alpha 253 2/3/2024
0.1.15-alpha 401 2/1/2024
0.1.14-alpha 550 1/30/2024
0.1.13-alpha 172 1/29/2024
0.1.12-alpha 100 1/26/2024
0.1.11-alpha 335 1/23/2024
0.1.9-alpha 110 1/18/2024
0.1.8-alpha 102 1/18/2024
0.1.7-alpha 125 1/11/2024
0.1.6-alpha 260 11/16/2023
0.1.5-alpha 136 10/29/2023
0.1.4-alpha 185 10/6/2023
0.1.3-alpha 110 10/3/2023
0.1.2-alpha 124 9/23/2023
0.1.1-alpha 116 9/22/2023
0.1.0-alpha 124 9/20/2023