camera

A predefined screen-sized view that is SHOW by default.

Type:

VIEW*

Example:

while(1) {
  vec_set(camera.x,player.x); // move the camera together with the player entity
  vec_set(camera.pan,player.pan); 
  wait(1);
}

See also:

VIEW

► latest version online