FosterFramework 0.1.5-alpha
See the version list below for details.
dotnet add package FosterFramework --version 0.1.5-alpha
NuGet\Install-Package FosterFramework -Version 0.1.5-alpha
<PackageReference Include="FosterFramework" Version="0.1.5-alpha" />
paket add FosterFramework --version 0.1.5-alpha
#r "nuget: FosterFramework, 0.1.5-alpha"
// Install FosterFramework as a Cake Addin #addin nuget:?package=FosterFramework&version=0.1.5-alpha&prerelease // Install FosterFramework as a Cake Tool #tool nuget:?package=FosterFramework&version=0.1.5-alpha&prerelease
<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
- 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.
Platform Library
- The Platform library is a C library that implements native methods required to run the application.
- By default it is currently built for 64-bit Linux, MacOS, and Windows through Github Actions.
- To add support for more platforms, you need to build the Platform library and then include it in Foster.Framework.csproj
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 | Versions 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. |
-
net7.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on FosterFramework:
Package | Downloads |
---|---|
FosterFramework.Extensions.Scenes
Package Description |
|
PineFramework
Foster's extension adding more features |
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.1.18-alpha | 3,073 | 2/6/2024 |
0.1.17-alpha | 218 | 2/5/2024 |
0.1.16-alpha | 224 | 2/3/2024 |
0.1.15-alpha | 362 | 2/1/2024 |
0.1.14-alpha | 516 | 1/30/2024 |
0.1.13-alpha | 128 | 1/29/2024 |
0.1.12-alpha | 71 | 1/26/2024 |
0.1.11-alpha | 306 | 1/23/2024 |
0.1.9-alpha | 78 | 1/18/2024 |
0.1.8-alpha | 67 | 1/18/2024 |
0.1.7-alpha | 92 | 1/11/2024 |
0.1.6-alpha | 226 | 11/16/2023 |
0.1.5-alpha | 103 | 10/29/2023 |
0.1.4-alpha | 153 | 10/6/2023 |
0.1.3-alpha | 76 | 10/3/2023 |
0.1.2-alpha | 83 | 9/23/2023 |
0.1.1-alpha | 81 | 9/22/2023 |
0.1.0-alpha | 89 | 9/20/2023 |