SLUDGE

Object Types as Characters


Once an object type has been defined, it can be used as a character. Characters can walk, talk, stand still, and are scaled automatically by the engine in order to give the illusion of perspective.

Functions for working with a particular character:

addCharacter

animate

floatCharacter

forceCharacter

getCharacterDirection

getCharacterScale

hideCharacter

isCharacter

isMoving

jumpCharacter

moveCharacter

removeCharacter

setCharacterAngleOffset

setCharacterDrawMode

setCharacterExtra

setCharacterSpinSpeed

setCharacterWalkSpeed

setCostume

showCharacter

spinCharacter

turnCharacter

See also:

getObjectX and getObjectY

getOverObject

onFocusChange

removeAllCharacters

say and think

setFloor

setLightMap

setScale

Scaling Characters