Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - fasadin

Pages: [1]
1
NGUI 3 Support / Playing several animation in proper sequence
« on: January 22, 2014, 10:58:49 AM »
Hello

I am stuck on playing several animation in proper sequence.
I have on sprite box collider. When I clicking on it. It playes 3 animation.
- First it's scaling actual sprite that was clicked
- Second that move whole panel to left (out of camera)
- Third that move another panel to camera

Now, every animation works in the same time. But I want have something like
When first is finished then play two others.

I tried do that with using Animator but somehow animator does not work with those animations (Example 3 has the same animation, and with those animation also animator does not work)

Can be that done with "clicking/dragging" stuff? Or should I write my script for this? If script then how to recognize which UIPlayAnimation is which, cause there have the same name, so probably then I need look for properties (if name == "first") but this solution is not very nice.

2
NGUI 3 Support / Re: Example 3, and some tips for Newbie
« on: January 21, 2014, 03:23:37 AM »
after some time I figure out everything ;) thanks for respond and patience

3
NGUI 3 Support / Re: Example 3, and some tips for Newbie
« on: January 20, 2014, 03:23:34 AM »
http://i.imgur.com/xETv5i6.png

here you can see in Panel - Main in Animation section Window - Back. I tried to open those animation but I can't. Those is in NGUI/Examples/Animations.

I already watched videos with NGUI that what I found in here in website. I didn't saw anything about animation (toggle yes). If there are more than those what is here where I can find that?

because here I also watched many (not all)
http://www.youtube.com/user/ArenMookR5/videos


4
NGUI 3 Support / Re: Example 3, and some tips for Newbie
« on: January 19, 2014, 12:26:09 PM »
2. Ok, i am trying to accomplish that. And for now i can easly move things, but it's needed to be activated. In example 3 in Option's button I saw something like UIPlay Animation, that's somehow enabled and move things. Question is How to use that?
3. Object window does not have TweenTransform. Only has Transform and Box-Collider. And still I don't know how to open those animation that I mention in 2) like Window - Back or Window - Forward. It's really cool thing in this example, but I want to understand this more easly.
4. I watched some videos, but I can not find in this videos answer for those question.

also example3 has in panel's script for animation, why? And how add UIAnimationEditor?

Thanks for respond.

5
NGUI 3 Support / Example 3, and some tips for Newbie
« on: January 16, 2014, 09:58:11 AM »
Hello everyone,
this is my first post here. Hope that this is my first and last newbie (and probably stupid) question. I am new in unity. Sorry for that long story but I am trying to describe everything that I know about my idea that you could help me in best way.

I am trying to do menu in unity something like example 3 that NGUI provides. First I wanted to make it with just pure unity, without ngui. Only what I managed to do is LoadLevel(1); when button is clicked. This is not that good because I want to have some animation in that menu menu will have 3 small windows to pickup something, like in Heartsone while picking cards in area (something like this).

Animation will be quite simple. I click on some panel one goes to x,y and two others fly out of the screen. With that left panel/window appear other window with some text on in and with some images on it.

I managed that doing in ngui but what I've done it's that I put everything in one panel and during start script I hide some things (like this second panel/window) and storage references in class named ReferenceHolder, what was really strange for me and not natural. when I was pressing button i done something like read that reference from that ReferenceHolder and set it active. It it working maybe not exactly that I want but it is working. Then I opened Example 3 from NGUI and it was really simple and nice. Somehow you manage hide everything and animated that with clicking options. I know that you using UIPlay Animation somehow with this. I understand reference, but somehow I fill that I don't get whole concept how to build that.

I also want more animation in this menu like opening menu (like a book or something like this), but idk how I can accomplish this

I was trying to do example 3 in pure unity but somehow i can not manage this.

1. It's possible to do example 3 in pure unity? If yes then how can you somehow put some links/instruction for that?
2. How to make a simple menu like this example3 (like only button with screen) with that hiding showing stuff? I need to disable everything like in example3 or can I just disable main parent or can I just not disable anything (i tried that options and for those 3 it's working well so idk why it's hidden in that way)
3. How the animation is done (window-back for example) because I can not open this in unity.
4. Any tips for me :)?

If you managed to read that and you are here then thank you for patient :)
Greetings

Pages: [1]