Game Development Community

PanPosition vs. moving the camera

by Tom Testa · in Torque Game Builder · 06/25/2007 (11:02 am) · 2 replies

Hi,

A quick question on tile maps. If I was doing a simple Ultima I-V tile style game, does it make a difference using pan position as apposed to moving the camera to handle scrolling?

I can see that scrolling could be done by both, and I'm wondering if there was ever a reason you would want to use PanPosition as apposed to moving the camera.


Thanks

#1
06/25/2007 (8:14 pm)
PanPosition would be used for background tile layers. The shooter demo that ships with TGB 1.3 uses that to scroll the background while the ship stays in the same position.

Definitely no reason to use it for anu Ultima style game. Moving the camera is much simpler.
#2
06/26/2007 (8:37 am)
Thanks for the info. I was wondering what PanPosition was for. This clears it up.