Class tQuery.Spritesheet
- Defined in: tquery.spritesheet.js
Constructor Attributes | Constructor Name and Description |
---|---|
tQuery.Spritesheet(opts)
Class to handle spritesheet and generate extruded 3d objects with it.
|
Class Detail
tQuery.Spritesheet(opts)
Class to handle spritesheet and generate extruded 3d objects with it.
TODO remove the canvas part, this is useless
- Parameters:
- {Object?} opts
- the options to create the spritesheet
- {string} opts.url
- the url of the spritesheet image
- {Number} opts.imgW
- the width of the image
- {Number} opts.imgH
- the height of the image
- {Number} opts.spriteW
- the width of each sprite in the image
- {Number} opts.spriteH
- the height of each sprite in the image