FosterFramework 0.1.0-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.0-alpha
                    
NuGet\Install-Package FosterFramework -Version 0.1.0-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.0-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FosterFramework" Version="0.1.0-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.0-alpha
                    
#r "nuget: FosterFramework, 0.1.0-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.
#:package FosterFramework@0.1.0-alpha
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FosterFramework&version=0.1.0-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=FosterFramework&version=0.1.0-alpha&prerelease
                    
Install as a Cake Tool

Foster

Foster is cross-platform game framework made in C#.

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

what's here

  • Framework: The main Foster library used for creating a Window, handling Input, and Drawing.
  • Platform: A small C library used to handle native platform implementations, which in turn uses SDL2.

dependencies

  • dotnet 7.0 and C# 11
  • SDL2 is the only external dependency, which is required by the Platform library. By default this is statically compiled.

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.
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.

NuGet packages (4)

Showing the top 4 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!

Ugtk.Foster

A library containing different universal utils for game development

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.2 396 5/22/2025
0.2.1 450 2/3/2025
0.2.0 273 1/28/2025
0.1.21-alpha 113 1/14/2025
0.1.19-alpha 120 1/14/2025
0.1.18-alpha 4,816 2/6/2024
0.1.17-alpha 307 2/5/2024
0.1.16-alpha 299 2/3/2024
0.1.15-alpha 439 2/1/2024
0.1.14-alpha 595 1/30/2024
0.1.13-alpha 213 1/29/2024
0.1.12-alpha 125 1/26/2024
0.1.11-alpha 375 1/23/2024
0.1.9-alpha 148 1/18/2024
0.1.8-alpha 154 1/18/2024
0.1.7-alpha 161 1/11/2024
0.1.6-alpha 295 11/16/2023
0.1.5-alpha 177 10/29/2023
0.1.4-alpha 224 10/6/2023
0.1.3-alpha 151 10/3/2023
0.1.2-alpha 163 9/23/2023
0.1.1-alpha 157 9/22/2023
0.1.0-alpha 165 9/20/2023