2D game framework with an emphasis on lighting made with OpenTK.
- OpenGL as backend.
- Ray Marched lighting with an option to use displacement textures, which set a particular starting rotation to the rays emitted.
RayMarching.mp4
- GPU and CPU Ray Casting. Individual lights have configurable width, angle, angular and shadow falloff and volume. There is also bloom — light that is not affected by any occluders. Occluders can have any shape.
RayCasting.mp4
- Sprite batching.
- Sprite atlas generation.
- Limited palettes.
- Font Rendering. Bitmap fonts are generated via Hiero.
The output
.fnt
file is converted to.xml
using this script
Platforming.mp4
Audio using OpenAL that offers both short sound playback and music streaming.
- Particle system.
- Debug console.
Console.mp4
- Coroutines.
- Pseudo-ECS.
- OpenTK (Version: 4,7,7)
- StbImageSharp (Version: 2.27.13)
- StbImageWriteSharp (Version: 1.16.7)
git clone https://github.com/YoshiEnthusiast/Carpet.git
cd Carpet
dotnet run --project ./Examples/[Project name] --configuration Release
"Make games, not engines".
Extensive abstractions increase complexity and limit functionality.