-
Notifications
You must be signed in to change notification settings - Fork 29
Asset
An asset is any resource that a walkabout can use. The following types of assets exist:
A graphic asset is any image. It may be a stand-alone image or a sprite sheet. Since HTML5 does not currently support sharpness preserving scaling algorithms, all graphics must be to scale.
An audio asset is any sound. It may be a sound effect or background music. Since HTML5 standards and the Audio tag are still in their infancy, for compatibility all audio assets should come in both mp3 and ogg formats. Firefox and Opera do not support mp3, and IE and Safari do not support ogg. This is not likely to be resolved soon for political reasons.
A movie asset is a SWF movie, to be used as a cutscene. Movies do not require any modification to work with the engine. However, since the engine is probing the movie for completion, if it is playing too fast it may not notice. Therefore it is advised that any movie have a stop(); on the final frame.
A path asset is a series of points, representing a polygon. This is used to determine special regions in a room, such as walkable and unwalkable areas.