Author Topic: Moving picture/graphic  (Read 4594 times)

empardopo

  • Full Member
  • ***
  • Posts: 49
    • View Profile
Moving picture/graphic
« on: March 17, 2016, 07:20:41 AM »
Hi,

I'm going to make my first theme and I would like add a graphic. I want my graphic appears from the right until the left. Any example how can I do it.

Thanks in advance

empardopo

  • Full Member
  • ***
  • Posts: 49
    • View Profile
Re: Moving picture/graphic
« Reply #1 on: March 19, 2016, 05:45:05 AM »
I got it by doing the following, perhaps this could be useful to someone.

Code: [Select]
fe.load_module("animate");
animation.add( PropertyAnimation(logo2, { property = "x", start = 800, end = logo2.x, tween = Tween.Bounce, time = 7500 } ) );
animation.add( PropertyAnimation(logo2, { property = "scale", start = 1.0, end = 1.5, time = 15000, delay = 8500 } ) );

https://youtu.be/Vp0JZSsRz2c

Is it possible to do an infinitive loop?

Thanks
« Last Edit: March 19, 2016, 08:38:17 AM by empardopo »