Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

getImage

Description

Returns the image of the specified name or path.

Arguments

1 string path

the name (or path to) the texture. Note that if you loaded an image with cache.newSoundNamed, then you must provide the name of the texture, since the path is not taken into account.

Returns

1 Sound

the sound object. If the sound wasn't loaded, it will attempt to load it.