This repository is no longer being worked on!
can be found here.
There is a new iteration of this library whichFoster
Foster is an open source & cross-platform game framework made in C# dotnet core.
★ very work in progress! likely to have frequent, breaking changes! please use at your own risk! ★
goals
- Designed for small desktop + console 2D and 3D games; No mobile
- A simple and lightweight Platform API so it's easy to swap out the guts
- As few dependencies outside of C# as possible
- Modern C# without worry about backwards compatibility
- This isn't built for modern graphics or like a billion polygons
- This isn't meant to have Game Engine-specific code, but rather just contain Windowing, Rendering, Input, and Audio
what's here
- Framework: The main Framework with an abstract Platform implementation. Handles Input, Drawing, Windowing, etc.
- Platforms: Platform implementations of the Framework modules (such as GLFW, SDL2, OpenGL, DirectX, Vulkan, etc)
- JSON: Simple JSON reading / writing library. Can also read and write non-strict JSON (like Hjson)
dependencies
- dotnet 7.0 and C# 11
- stb_truetype for Font loading. We're using a C# port
- Each Platform implementation has its own dependencies
getting started
Check out the Wiki for Guides and API references
inspiration
Taken a lot of inspiration from other Frameworks and APIs, namely FNA and Halley Game Engine