The CharacterSprite class

The CharacterSprite class is used to display images of your characters on the screen. It offers functionality to make showing the characters of your games with different expressions easier.

See Working with visuals for an explanation on how to use them.

Member functions

Method Description
(constructor) Create a CharacterSprite object
show Change the expression of a character and make it visible
hide Make the character sprite invisible
setBase Set the base image of the character sprite
setColorLut Set the color LUT to use for color grading
disableColorGrading Disable color grading for this character sprite
skipTransition Instantly finish any transition affecting this object
setPosition Set the position of the sprite
setX Set the position of the sprite while aligning it with the bottom of the screen
move Start a movement animation
moveX Start a movement animation where the end position is aligned with the bottom of the screen
setExpressionBase Set the base image that will be used when searching for expression images