Difference between revisions of "SpriteBatch:setImage"

(setImage should have its own wiki page!)
 
Line 1: Line 1:
 +
{{newin|[[0.7.2]]|072|type=functions}}
 
Replaces the image used for the sprites.
 
Replaces the image used for the sprites.
 
== Function ==
 
== Function ==
Line 13: Line 14:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Replaces the image used for the sprites.}}
 
{{#set:Description=Replaces the image used for the sprites.}}
{{#set:Since=072}}
 
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|SpriteBatch:setImage}}
 
{{i18n|SpriteBatch:setImage}}

Revision as of 12:47, 8 January 2012

Available since LÖVE 0.7.2
This functions is not supported in earlier versions.

Replaces the image used for the sprites.

Function

Synopsis

SpriteBatch:setImage( image )

Arguments

Image image
The new Image to use for the sprites.

Returns

Nothing.

See Also

Other Languages