Welcome,
Guest
. Please
login
or
register
.
June 14, 2026, 02:51:44 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
How to make part of an ngui sprite transparent
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to make part of an ngui sprite transparent (Read 3382 times)
TommyT31
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 21
How to make part of an ngui sprite transparent
«
on:
June 16, 2013, 11:34:16 PM »
Hi all.
I'm trying to do a map for a game I'm doing that's based on squared. I would like to cover a pretty drawn map and reveal the squares around you. I was thinking I could use indiviudal sprites but this seems pretty inefficient if you map is like 50 x 50 squares.
There must be a way to do this but I'm not sure where to start.
Any tips or advice on what to look into ??
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: How to make part of an ngui sprite transparent
«
Reply #1 on:
June 18, 2013, 12:40:03 AM »
Create a texture, set it to point filtering, fill its data when you need to update it, and use UITexture to display it.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
How to make part of an ngui sprite transparent