Renaming sheet parameter width and height in resources.xml
Closed this issue · 3 comments
Stef569 commented
http://slick.javaunlimited.net/viewtopic.php?f=3&t=4743
It's easy to forget that width and height are actually referring to the size of a single tile inside the Spritesheet.
Maybe width and height can be renamed to ... tilewidth and tileheight ?
thaaks commented
Yes, renaming does make sense. Although tilewidth and tileheight are confusing as well.
Maybe something like spritewidth and spriteheight?
Stef569 commented
I came up with tile width, tile height because that's the name of the parameter in slick (tw and th). The spritesheet is divided up into tiles of equal size.
Stef569 commented
So spritewidth or tilewidth? I think the sprite is inside the tile, the sprite width can and often is smaller then the tile width. Gornova can I add this in 0.3?