Author Topic: How to go about making clickable animated textures  (Read 1513 times)

technoir

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 1
  • Posts: 27
    • View Profile
How to go about making clickable animated textures
« on: January 14, 2013, 05:18:30 PM »
Hi guys,

I am an NGUI newbie and am enjoying the plugin, its great to use and extremely intuitive! :)

However, onto my question - I'm trying to port my title screen menu system to utilize these. I have a TV screen which begins by displaying a non-interactive/clickable animated texture which after a few seconds displays a different animated texture that can be clicked. After it has been clicked, it moves to a third texture which is again non-clickable. However, if it is not clicked it will move onto a different third texture. Now, I've gone through the video examples on your site but none of them seem to mention a GUI of this style.

The process goes like this:

If Texture_2 not clicked:

non-clickable --------------> clickable ----------------> non-clickable
Texture_1 ----------------> Texture_2 ----------------> Texture_3

---

If Texture_2 clicked:

non-clickable --------------> clickable ----------------> non-clickable
Texture_1 ----------------> Texture_2 ----------------> Texture_4

I was wondering if anyone can steer me in the right direction here.

Thanks in advance and keep up the good work!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to go about making clickable animated textures
« Reply #1 on: January 15, 2013, 07:02:48 AM »
This is not exactly a UI question. You're scripting a custom behaviour determining what happens when you click. You're also the one setting up how things transition. Combine the two together, and you have your answer.