Difference between revisions of "love.graphics.newSpriteBatch"

m (...really, self?)
Line 12: Line 12:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
* [[Constructs::Quad]]
+
* [[Constructs::SpriteBatch]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Creates a new SpriteBatch object.}}
 
{{#set:Description=Creates a new SpriteBatch object.}}

Revision as of 10:13, 25 March 2011

Creates a new SpriteBatch object.

Function

Synopsis

spriteBatch = love.graphics.newSpriteBatch( image, size )

Arguments

Image image
The Image to use for the sprites.
number size (1000)
The max number of sprites.

Returns

SpriteBatch spriteBatch
The new SpriteBatch.

See Also


Other Languages