Author Topic: Tiled Sprite  (Read 2881 times)

Decco

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 1
  • Posts: 20
    • View Profile
Tiled Sprite
« on: February 03, 2015, 12:31:45 PM »
Hello ^^

When I set a 9-sliced sprite type to "Tiled", I'm not getting the expected behaviour.
I'm expected the exact same as :
Type : Advanced
- Left : Tiled
- Right : Tiled
- Top : Tiled
- Bottom : Tiled
- Center : Tiled

It similary to "Sliced" behaviour, but the borders are tiled instead of stretched (for exemple if you have a pattern in the sprite)

Is it intended or not ?

Decco

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Tiled Sprite
« Reply #1 on: February 05, 2015, 08:44:54 AM »
It's intended. Tiled sprite tiles the center of the sprite. This lets you use the border to specify some padding in case you're going to be doing scaling of this texture, which would otherwise make lines show up due to color bleeding caused by texture filtering.