Skip to content

Releases: adriancmiranda/sprite.js

Beta

06 Sep 17:36
Compare
Choose a tag to compare

Sprite.js

Properties:

  • responsive:boolean
  • fps:Number
  • totalFrames:uint
  • columns:uint
  • rows:uint
  • currentFrame:uint
  • vertical:Boolean
  • tileW:Number
  • tileH: Number
  • column:uint
  • row:uint
  • timeline:Array
  • duration:Number
  • lastFrame:uint
  • targetNextFrame:uint
  • targetFrame:uint
  • offsetX:Number
  • offsetY:Number
  • reverse:Boolean
  • running:Boolean
  • looping:Boolean
  • yoyo:Boolean

Methods:

  • load:void
  • refresh:void
  • play:void
  • pause:void
  • togglePause:void
  • stop:void
  • playToBeginAndStop:void
  • playToEndAndStop:void
  • gotoRandomFrame:void
  • fromTo:void
  • gotoAndPlay:void
  • gotoAndStop:void
  • nextFrame:void
  • prevFrame:void
  • jumpFrames:void
  • loopBetween:void
  • cancelLooping:void
  • toString:String

Scaffold

Alfa

27 Apr 21:30
Compare
Choose a tag to compare

Sprite.js

Properties:

  • fps:Number
  • totalFrames:uint
  • columns:uint
  • rows:uint
  • currentFrame:uint
  • vertical:Boolean
  • tileW:Number
  • tileH: Number
  • column:uint
  • row:uint
  • timeline:Array
  • duration:Number
  • lastFrame:uint
  • targetNextFrame:uint
  • targetFrame:uint
  • offsetX:Number
  • offsetY:Number
  • reverse:Boolean
  • running:Boolean
  • looping:Boolean
  • yoyo:Boolean

Methods:

  • load:void
  • play:void
  • pause:void
  • togglePause:void
  • stop:void
  • playToBeginAndStop:void
  • playToEndAndStop:void
  • gotoRandomFrame:void
  • fromTo:void
  • gotoAndPlay:void
  • gotoAndStop:void
  • nextFrame:void
  • prevFrame:void
  • jumpFrames:void
  • loopBetween:void
  • cancelLooping:void
  • toString:String

Scaffold