Been a while but here I am with a new update.
I added a playeble character and a camera, the camera can be attached to any entity and will position itself so the entity will be at the center. The camera movement is done by adjusting the TranslationVector of the Matrix with the position of the camera, this way the drawing code for entities stays the same while I only have to adjust the Matrix every update cycle.
The collision is also further implemented. It's now properly working on all sides and each entity can now interact when it has collision or collides.
Here is a video of the player movement and the camera moving along with it. The collision can also be seen, I added arrow for testing purposes to see if all the right blocks create collision.
Next things I'd like to implement are:
- Lighting
- Water
- Background