Author Topic: Simple Colored Button  (Read 3991 times)

broken

  • Full Member
  • ***
  • Thank You
  • -Given: 1
  • -Receive: 4
  • Posts: 140
    • View Profile
Simple Colored Button
« on: March 18, 2013, 01:18:30 AM »
Hi!

I want to make a simple colored button without borders (see Attach). Which way is better:

1. Create yellow texture with the original (design) size as in the picture (attach) and add it to the sprite (background) in button component.
2. Create yellow texture with the small size (10x10) and add it to the sprite (tiled? or filled?) (background sprite) in button component.
3. Create transparent (or white?) texture with the small size (10x10) and add it to the sprite (tiled? or filled? or base?) (background sprite) in button component. Set Wrap Mode = Repeat and change Color Tint to yellow (or other color)?

Thanks!
« Last Edit: March 18, 2013, 02:16:51 AM by broken »

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Simple Colored Button
« Reply #1 on: March 18, 2013, 03:48:55 AM »
3x3 white box texture. Background should be a sliced sprite, and the box should have its border set to 1,1,1,1 in the atlas. Color set on the sprite.