Author Topic: Double Slice on Texture  (Read 1958 times)

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
Double Slice on Texture
« on: September 05, 2014, 03:05:56 PM »
Hi,
I need a double slice texture, like the image attached. I just want the green part to repeat en each side.
Is this possible?

My first thought was using 2 images; one for the center and another one for the side and repeat this one to the other side. At the end are 3 images.

Thanks


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Double Slice on Texture
« Reply #1 on: September 06, 2014, 01:56:58 AM »
Yes, you have to either use 3 sprites here, or create a custom widget type.

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
Re: Double Slice on Texture
« Reply #2 on: September 09, 2014, 08:07:07 AM »
Ok, thanks!