Welcome,
Guest
. Please
login
or
register
.
May 06, 2026, 02:36:04 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Simple Colored Button
« previous
next »
Print
Pages: [
1
]
Author
Topic: Simple Colored Button (Read 3989 times)
broken
Full Member
Thank You
-Given: 1
-Receive: 4
Posts: 140
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
»
Logged
Nicki
Global Moderator
Hero Member
Thank You
-Given: 33
-Receive: 141
Posts: 1,768
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.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Simple Colored Button