#4 Camera system #9

Merged
david merged 3 commits from camera-follow_#4 into main 2025-11-24 14:38:51 +00:00
Owner
No description provided.
david self-assigned this 2025-11-24 14:37:08 +00:00
Introduces a new Camera component that can follow entities and provides a camera matrix for rendering. Updates the entity/component initialization signatures to include the scene, and modifies the scene to register and use the camera for rendering. Also updates the entity factory and scene creator to add a camera entity to the test game.
Introduced the FollowCameraController component to handle camera following logic, moving this responsibility out of the Camera class. Updated EntityFactory to add FollowCameraController instead of setting FollowTag on Camera. Split IEntityRenderComponent and IEntityUpdateComponent into separate files and introduced IEntityCameraControllerComponent for extensible camera control.
Add smoothing to FollowCameraController movement
All checks were successful
Build and Publish NuGet / nuget-build-core (pull_request) Successful in 1m36s
2252e35c19
Introduces a Smoothing property to FollowCameraController, enabling smooth camera transitions using linear interpolation. Updates serialization and deserialization to include the new property, and sets a default smoothing value when creating camera entities.
david changed title from WIP: #4 Camera system to #4 Camera system 2025-11-24 14:37:21 +00:00
david merged commit 979704e7fe into main 2025-11-24 14:38:51 +00:00
david deleted branch camera-follow_#4 2025-11-24 14:38:51 +00:00
david referenced this pull request from a commit 2025-11-24 14:38:51 +00:00
Sign in to join this conversation.
No reviewers
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
david/Spelusion.Engine!9
No description provided.