Author Topic: Moving image every x ms  (Read 11017 times)

empardopo

  • Full Member
  • ***
  • Posts: 49
    • View Profile
Moving image every x ms
« on: March 23, 2016, 10:49:55 AM »
I would like to move my image every x ms.
When my theme starts my image is animated.

I use this code

Code: [Select]
local logo = fe.add_image("LogoAS.png", 400, -5, 432, 220 );
animation.add( PropertyAnimation(logo, { property = "y", start = 800, end = logo.y, tween = Tween.Bounce, time = 7500} ) );

I wish my image animation start again when 30 seconds have passed. Is that possible?

Thanks in advance.