This wiki has been moved to https://github.com/SuperTux/wiki into the mediawiki branch.
Camera is an interface to manipulate the camera.
An instance named Camera (sector.Camera in the console) is available. (Note: doesn't having a class and an eponymous instance create a potential for conflicts? We should probably rename the instance or the class.)
|shake(float time, float x, float y)||Warning: This function has not yet been implemented.|
|set_pos(float x, float y)||Warning: This function has not yet been implemented.|
|set_mode(string modestring)||This function sets the camera mode. Valid values for modestring are "normal" and "manual".|
|scroll_to(float x, float y, float time)||Scrolls the camera to (x, y) within time seconds.|