[posila] [1.1.88] tile.variants.material_background does not work at higher scales than 8x8
Posted: Thu Aug 10, 2023 1:29 am
Good morning
I am trying to add some new tilesets for the next pY mod... pYSE
My plan is to have similar effect to the "water wube" tile. Aka it uses the material background property to repeat the sprite every N tiles.
However I noticed that this prototype property breaks when going to higher resolutions than 8x8 (size of water wube tile). I tried to make a 32x32.
The game loads just fine but it seems to just use random textures from the altas. There is also a strange shearing effect on the sprite borders.
I tried with the builtin __base__/graphics/terrain/water-wube/concrete-dummy.png and also custom __pystellarexpeditiongraphics__/graphics/tile/space-platform/concrete-dummy.png
I have attached some resources to help debugging.
1. Image of the broken tiles
2. Code used to make this tile
3. HR and LR images for the intended texture
Thanks for looking at this
I am trying to add some new tilesets for the next pY mod... pYSE
My plan is to have similar effect to the "water wube" tile. Aka it uses the material background property to repeat the sprite every N tiles.
However I noticed that this prototype property breaks when going to higher resolutions than 8x8 (size of water wube tile). I tried to make a 32x32.
The game loads just fine but it seems to just use random textures from the altas. There is also a strange shearing effect on the sprite borders.
I tried with the builtin __base__/graphics/terrain/water-wube/concrete-dummy.png and also custom __pystellarexpeditiongraphics__/graphics/tile/space-platform/concrete-dummy.png
I have attached some resources to help debugging.
1. Image of the broken tiles
2. Code used to make this tile
3. HR and LR images for the intended texture
Thanks for looking at this