SpriteViewMode
Sets how a sprite faces the camera.
SpriteViewMode ( sprite,view_mode )
Parameters
- sprite
- the sprite's handle.
- view_mode
- 1 always faces the camera full on; 2 doesn't turn by itself, so it can be turned like any entity; 3 turns left and right to face the camera but stays upright, for trees and people.
Description
Sets how a sprite turns to face the camera.
