ko4life-net / ko

Open source development of the game Knight Online. This is a reversed engineered old version of the game aiming to replicate the nostalgic experience we all once had <3
MIT License
52 stars 21 forks source link

Implement 180 degrees animated camera rotation #176

Closed stevewgr closed 1 year ago

stevewgr commented 1 year ago

Description

This PR is continuitaiton of @selcukcukur (thank you for the efforts nevertheless) previous PR (https://github.com/ko4life-net/ko/pull/172) where the camera rotation was not animated. Now we implement it exactly as per official when the user clicks the middle mouse button, the camera rotates 180 degrees with animation.

This also resolves the following ticket: https://github.com/ko4life-net/ko/issues/93

Preview

rotate_camera

stevewgr commented 1 year ago

@srmeier, thank you for the review!

Build passing: https://github.com/ko4life-net/ko/actions/runs/3865097884/jobs/6588377482

Merging.