Welcome,
Guest
. Please
login
or
register
.
December 11, 2024, 11:31:52 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
How to draw a shuriken particle between 2 ngui sprite
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to draw a shuriken particle between 2 ngui sprite (Read 3254 times)
invincible0918
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 6
How to draw a shuriken particle between 2 ngui sprite
«
on:
November 17, 2014, 06:13:52 AM »
Due to my horrible ui design,I need to draw a particle between 2 sprite,how to draw it correctly? thx!
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: How to draw a shuriken particle between 2 ngui sprite
«
Reply #1 on:
November 17, 2014, 09:23:57 AM »
You need to use explicit render queues on panels. Some panels need to be set to draw before the particle system, others -- after.
Logged
invincible0918
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 6
Re: How to draw a shuriken particle between 2 ngui sprite
«
Reply #2 on:
November 17, 2014, 08:58:11 PM »
i tried but still not work, how to set the particle render queue?
Logged
Nicki
Global Moderator
Hero Member
Thank You
-Given: 33
-Receive: 141
Posts: 1,768
Re: How to draw a shuriken particle between 2 ngui sprite
«
Reply #3 on:
November 18, 2014, 03:25:00 AM »
The particle system defaults to 3000, since that's the number for transparent content, afaik. So you should be able to sandwich it by putting stuff down below 3000 and other stuff above 3000.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: How to draw a shuriken particle between 2 ngui sprite
«
Reply #4 on:
November 18, 2014, 05:25:38 AM »
See this post:
http://www.tasharen.com/forum/index.php?topic=776.msg34546#msg34546
Logged
invincible0918
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 6
Re: How to draw a shuriken particle between 2 ngui sprite
«
Reply #5 on:
November 18, 2014, 09:28:47 PM »
thx for reply,i tried the post's script,it worked.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
How to draw a shuriken particle between 2 ngui sprite