SLUDGE

Object Types as Screen Regions


Once an object type has been defined it can be represented by a region of the screen. Screen regions do not need to be defined in order for the background image to animate - this can be achieved through repeated calls to the addOverlay command. Rather, screen regions are used purely to enable a user's interaction with buttons on their screen, or with items in a scene in a game.

Functions for working with a specific screen region:

addScreenRegion

isScreenRegion

removeScreenRegion

See also:

forceCharacter

getOverObject

jumpCharacter

moveCharacter

onFocusChange

removeAllScreenRegions

say and think