[coco-devel] latching camera
Brought to you by:
svref
From: Dave M. <sv...@ya...> - 2001-07-20 01:37:04
|
There is now what I call a "latching camera" for helicopters. Traditionally the camera pans to look out in the direction you're flying towards. However, if you're /running away/ from something, this led to the camera not showing you what you're running away from. Making you want to run even more. Enter the "latching camera", that won't pan past midscreen if there's an enemy in visual range behind you. Once they go out of visual range, the camera snaps back to the traditional position at 12 pixels/frame. If there are enemies both in front and behind you, the latching camera gives up and reverts to the traditional behavior. |