playMaker

Author Topic: iTween canvas?  (Read 2595 times)

NvdS

  • Playmaker Newbie
  • *
  • Posts: 18
iTween canvas?
« on: August 21, 2015, 11:04:31 AM »
A question to the playmaker experts...

I'm trying to animate my menu but I can't succeed  >:( >:( >:(...iTween doesn't seem to interact with GUI elements?

I also tried to use the 'play animation' action in an FSM but this one doesn't work either.

Then I tried to fix it with animations and the animator. The animations do work when I just let the animations loop after each other (see attachment for transition setting) but as soon as I try to use conditions (set float/set bool animator) in combination with the 'get key' action the animations don't play anymore...

It dazzles me...animation/animator...I thought this was a quite simple one but apparently I got it wrong. I don't know what to do.

Can anyone give me some advise?

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Re: iTween canvas?
« Reply #1 on: August 22, 2015, 05:11:57 AM »
Use DoTween... It has actions for uGui animations... Search this forum for the actions..

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: iTween canvas?
« Reply #2 on: August 22, 2015, 06:44:33 AM »
Hi,
Quote
Then I tried to fix it with animations and the animator. The animations do work when I just let the animations loop after each other (see attachment for transition setting) but as soon as I try to use conditions (set float/set bool animator) in combination with the 'get key' action the animations don't play anymore...

I think it is your transition settings you need to play around with, try turning off has exit time

NvdS

  • Playmaker Newbie
  • *
  • Posts: 18
Re: iTween canvas?
« Reply #3 on: August 24, 2015, 08:24:25 AM »
DoTween fixed the job. Thanks for the tip. Probably the animator solution didn't work because i set the time scale to 0 when opening the menu...because of that reason the tweening with DoTween also didn't work at first...

Everything is running now!

Thanks again!