#stretch an atlas texture with a atlas layout ?

11 messages · Page 1 of 1 (latest)

noble flax
#

if i dont use a atlas layout, and instead use directly a single png file:

lime swift
#

Since you think the atlas is conflicting with the custom size, what happens if you don't use a custom size?

noble flax
#

thanks for the answer ! it seems that the sprite doesn't take all the space it should

#

there is 10 green sprite like it should, but the last one take up a lot more space and even show the next sprite in the atlas

#

while im here opening a post, whats the best way of scaling/zooming a 2d sprite ? transform with a scale ?

noble flax
#

scretch an atlas texture with a atlas layout ?

#

stretch an atlas texture with a atlas layout ?

#

[unresolved] stretch an atlas texture with a atlas layout ?

noble flax
#

stretch an atlas texture with a atlas layout ?

#

Original message i accidentally deleted :

#

hello !

im building a grid with spritebundle.
using a 128x128 png file for the texture works as expected, and scale to the Sprite { custom_size }. but, i want to use a atlas/spritesheet because the texture are ground texture, and i have all the different variation of the terrain in a atlas.png.
i think its because the custom size conflict with the atlaslayout.