Forums

OverviewV-Play 1 Supportsmooth opacity animation not having an effect › Reply To: smooth opacity animation not having an effect

OverviewV-Play 1 Supportsmooth opacity animation not having an effect › Reply To: smooth opacity animation not having an effect
#5656

strattonbrazil

I’m using Chrome on Ubuntu.  I’m copying/pasting directly into the text box without using the code button.  I usually go back afterward and format everything.  If I copy/paste it into an editor like gedit and recopy/paste it here, I don’t get the code boxes, but then I lose all my indentation as well.  :(

 

I tried using the “Behavior on opacity”, but that still didn’t have any effect.  I updated my main qml code to have a couple of states, which I use to change the opacity of one scene to 1 and the opacity of the the other to 0.  This seems to update the opacities fine, but again there’s no smooth transition.  It’s just popping from one scene to the other.  I know the states are working because onStateChanged is being called and that’s what is handling the opacity now.  I’m just wondering why they still don’t animate with “Behavior on opacity” or “Transition”.

 

http://pastebin.com/fsz7xiT0

 

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support