Camera Lock

In PoG there is an effect of having the overhead camera move around and focus on parts of maps that are several movement squares away. How is this accomplished?

------------------
Whose cruel idea was it to put an 'S' in lisp?

animation files can have the flags 'camera lock' 'camera unlock'
i've done some slight experimentation with it but have yet to get smooth results.

but here's the general idea.
you create look button(s); n,s,e,w

when the player chooses to look north
a keydown event
launches a stamp animation, composed of white frames.( that has a linear interpolated path of 256 pixels or 4;64 pixel tiles.)

  • 1st frame camera lock.

  • it travels the path a frame at a time. Stops for a while and then, returns back to focus on the player(0,0).

  • 2nd to last frame unlock s the camera ,

  • last frame kill myself.

------------------

(EDIT) Added in punctuation and bold Posted Image

(This message has been edited by ellrx (edited 02-01-2003).)