Hello Guest

Author Topic: Dynamicly resizeable custom Buttons - how to make?  (Read 3831 times)

Desttro

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 18
    • View Profile
Dynamicly resizeable custom Buttons - how to make?
« on: May 09, 2015, 01:08:26 pm »
Please I have bought GUI pack for 2D mobile games. I have vectors for buttons but I don't know how to make it "smaller" - dynamically resizable for Unity, as is in tk2d UI demo.

This is my bought button:


And I need to make from it this (with all corners, etc.)



In Unity, I will resize it according to my needs and add text. But I don't know how to make it in Photoshop or Illustrator, how to smaller it with keep corners and make "middle" of button to be dynamic.

Thank you for help.

Desttro

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Dynamicly resizeable custom Buttons - how to make?
« Reply #1 on: May 10, 2015, 11:23:14 am »
solved by slicing in tk2d

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Dynamicly resizeable custom Buttons - how to make?
« Reply #2 on: May 11, 2015, 12:30:39 am »
That's it, slicing will solve that issue. The middle tiling bit can be done with a separate tiled texture.