react-spritesheet
react-spritesheet copied to clipboard
AnimatedSpriteSheet should accommodate multi-row sprite sheets.
In AnimatedSpriteSheet,
Add calculation for y coordinate.
render(){
const spriteData = {
...
y: [calculation for y offset],
};
}