Difference between revisions of "love.graphics.newSpriteBatch"

m
Line 12: Line 12:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
 +
* [[Constructs::Quad]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Creates a new SpriteBatch object.}}
 
{{#set:Description=Creates a new SpriteBatch object.}}
 +
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.newSpriteBatch}}
 
{{i18n|love.graphics.newSpriteBatch}}

Revision as of 10:12, 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