Week 20: The basics 1
Back

(Edit: I should probably warn that from here on out a lot of these blogposts are very technical. These contain a fair amount of trigonometry, programming and explanations)

While movement and controls are extremely important in a platformer, neither can exist without a good camera that allows the player to see where they are going and what their character is doing.

This camera took me quite a long time to make but it should be mostly futureproof, meaning that I won’t have to go back and change it in the future. The camera, controlled with the right stick of a controller, can move in closer or farther away and rotate around the character at different speeds depending on how far the joystick is held.

It also allows the user to go into a first person perspective to get a better look at their surroundings.

Back