08381703f79377a5bc48fc0745620f8815695b05
CI / build-test (push) Successful in 1m19s
Enhanced the CameraState struct with a new WorldCenter property that calculates the effective position of the camera after bounds-clamping. This property is intended to be used for zoom-to-cursor functionality, ensuring that the repositioning aligns with what is rendered. Added unit tests to verify that WorldCenter reflects the unclamped camera position and correctly accounts for bounds clamping, distinguishing it from the raw camera position. Tests: WorldCenter_EqualsUnclampedCameraPosition, WorldCenter_ReflectsBoundsClamp_UnlikeRawPosition.
mrgameeng
Cross-platform 2D game engine built on MonoGame 3.8.4 (DesktopGL) and Friflo.Engine.ECS — ECS-first, .NET 8, C#.
Developer documentation (Russian): docs/architecture.md, docs/roadmap.md.
Showcase: the LittleSim game — a god-sim
built on this engine (vendored there as the engine/ submodule) that demonstrates
every engine feature.
License
MIT — see LICENSE.
Languages
C#
100%