Function
SpriteBatch:add( x, y, r, sx, sy, ox, oy )
Add a sprite to the batch.
Synopsis
SpriteBatch:add( x, y, r, sx, sy, ox, oy )
Parameters
x number The position to draw the object (x-axis).
y number The position to draw the object (y-axis).
r = 0 number Orientation (radians).
sx = 1 number Scale factor (x-axis).
sy = sx number Scale factor (y-axis).
ox = 0 number Origin offset (x-axis).
oy = 0 number Origin offset (y-axis).
Copyright © 2006-2010 LÖVE Development Team.