Releases: ClockworkDev/Spritesheet.js
Releases · ClockworkDev/Spritesheet.js
1.1.0
Second release, includes:
- Some bug fixes
- New functions:
- setImage : override the spritesheet image with a new one for an specific object
- getCamera : gets the camera coordinates
- asyncLoadMultiple : loads multiple xml spritesheets at once
- setEndedCallback : specifies a callback to be called when the current animation of an object has ended
- getContext : returns the context being used for the library
- Rendering order improved for when using a 3d wrapper (still a work in progress)
- You can now delete objects while an animation is running
- The code for retrieving xml spritesheets has been simplified
1.0.0
This is the first release, and includes:
- Support for XML spritesheets
- Drawing frames from images or custom code
- 4 basic render modes (functions that draw the buffer on the canvas)
- Support for using custom render modes
- Library functions for instantiating and setting the state of objects from the loaded spritesheets
- Library functions to control the 'camera', and support for both static and non-static objects
- Library functions to play the animation backwards
- Library functions to make the canvas full-screen (inside the browser)
- Library functions to modify the rendering order (zIndex)
- Library functions to get and set each object internal timer.