gdeath
1
You will have to click the inspector button, and go to Textures/tiles/catacombs.png, and click Load Texture from File:
The code looks right, and the cell width and height seem right too but I’m still getting some instances of the sprite looking wrong.
I am not sure the cell size you defined matches with what I am seeing in the picture here.
Could you host the texture somewhere so that the playground would work ?
gdeath
3
I checked the cell-size and it seems to be right. Does this mean spritemanager does not actually work?
Pryme8
4
your cell sizes are wrong.
3 Likes
gdeath
5
Thanks for adding the image as a base64. I did not think of that.
I’ve measured the cells in photoshop but I think I will use another spritesheet and get back to you