How to use spritemanager to show different cells on a spritesheet

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 ?

I checked the cell-size and it seems to be right. Does this mean spritemanager does not actually work?

your cell sizes are wrong.

3 Likes

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