Difference between revisions of "SpriteBatch:setImage"

(Added oldin)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{newin|[[0.7.2]]|072|type=functions}}
+
{{newin|[[0.7.2]]|072|type=method}}
 +
{{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