VBfx / Tile tutorial / Smooth camera

Introduction

Camera movement can be a nice tool to show what happens in your game, eg. when telling the player the story or something. But if the camera just pops to the target people get confused and probably can't follow the story. Of course this part is not that important but it's nice to have and not that much to implement. To keep you away from tons of math I'll just show you a simple method to slow-down movement in one direction and slowly stop when getting near the target.

Tutorial parts

Navigation