Author Topic: Looping moving element  (Read 1105 times)

firewater

  • Full Member
  • ***
  • Posts: 144
  • Karma: +1/-0
    • View Profile
Looping moving element
« on: July 12, 2017, 01:31:58 PM »
I'm wondering if there's a way to have an element enter the screen from the left, slowly move until disappearing into the right, and then start again. Essentially the use I'd give it is something like what you see on this picture (to have all the covers moving on a loop in the background):


Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1215
  • Karma: +22/-0
    • View Profile
    • Towel 42
Re: Looping moving element
« Reply #1 on: July 12, 2017, 02:04:43 PM »
A simple onIdle animation over the x coordinate should do the trick. onIdle automatically starts again once it's complete.

firewater

  • Full Member
  • ***
  • Posts: 144
  • Karma: +1/-0
    • View Profile
Re: Looping moving element
« Reply #2 on: July 13, 2017, 01:02:50 AM »
Excellent! Thanks.