Tuesday 2 February 2016

Camera

These two scripts are variations on a camera script I was working on. As oppose to having the camera stuck on the player, I wanted it to look more relaxed to fit the game play. My first camera type was a simple camera that would adjust its position gradually depending on the player. I did this by having the camera move by 10 on the x axis when the player hits a certain mark. This would be good for a dungeon crawler type game, but for our game, we decided it didn't fit. The next camera I made follows the player but has a slight smooth delay on it. This fit well with the game and didn't impact the game in a major way causing the player to die to an off screen trap.

 

No comments:

Post a Comment