Difference between revisions of "SpriteBatch:setImage"

m (Added deprecation notice)
(Added oldin)
 
Line 1: Line 1:
 
{{newin|[[0.7.2]]|072|type=method}}
 
{{newin|[[0.7.2]]|072|type=method}}
{{deprecatedin|[[0.9.1]]|091|type=function|text=This function will be removed in a future version. Use [[SpriteBatch:setTexture]] instead}}
+
{{oldin|[[0.10.0]]|100|type=function|text=Use [[SpriteBatch:setTexture]] instead}}
 
Replaces the image used for the sprites.
 
Replaces the image used for the sprites.
 
== Function ==
 
== Function ==

Latest revision as of 03:02, 17 December 2015

Available since LÖVE 0.7.2
This method is not supported in earlier versions.
Removed in LÖVE 0.10.0
Use SpriteBatch:setTexture instead.

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