itch.io is community of indie game creators and players

Devlogs

Cinemachine

Game Knight
A downloadable project

Now, we're going to make the camera follow the character wherever he wants. Because yesterday's devlog created levels using a tilemap, we will measure the width and length of the entire tilemap

Here we will download the cinemachine package in the package manager and will install it on the camera object. Cinemachine is very easy to use and does not require coding, we only set how big and far the camera is when played.

For the installation of the cinemachine, we must limit the player from going out into a dark or empty area. Therefore, we will create a 2d polygon and arrange the entire tilemap.


Download Game Knight
Leave a comment