I have a spritesheet of 8 sprites that are each 28 wide by 43 pixels high.
I am finding that I have to specify:
SpriteVPlay {
name: "walkright"
source: "../../assets/img/Ninja.png"
frameWidth: 7
frameHeight: 43
frameCount: 2
frameRate: 2
}
to get the first two sprites animated. See how frameWidth here is 7 instead of 28. What could be causing this?