Difference between revisions of "love.graphics.newSpriteBatch"

m (1 revision: Importing from potato (again).)
(No difference)

Revision as of 16:17, 14 February 2010

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
The max number of sprites.

Returns

SpriteBatch spriteBatch
The new SpriteBatch.

See Also