Hi,
I have a tiled map that I can move players around on. I want to centre the view when it is the other player turn, but I would like to know an easy way to centre on a player AND if the are close to the edge of the map, put them as close to the centre as possbile. (without the view going out of the the map area)
Any ideas?
Thanks
zakk
Comments