Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

newImage

Description

Load a new image and hold it in the cache.

Arguments

1 string path

the path to the texture to load.

2 FilterMode filterMin

the filter to use when rendering this texture when zoomed out. Refer to the love2d documentation for this.

3 FilterMode filterMag

the filter to use when rendering this texture when zoomed in. Refer to the love2d documentation for this.

Returns

1 Image

the loaded image object.