It is necessary to make so that two pictures alternately moving from the bottom up to create a dynamic and smooth animation. one goes up, the second at this moment appears from below. when the first one leaves fully, the second must repeat what the first one did. then the second leaves up and the first starts to leave from below. the second goes up, the first reaches the end, goes up, the second appears from below. and so in a circle.

  • the first leaves up, the second starts to appear from below. it turns out that the first moving up frees the screen and a white garbage appears. it is necessary that the space left from the shift of the first picture is used the second. The animation should be like this. I can not explain in more detail - Flippy

1 answer 1

  1. Create two screen height pictures.
  2. Second, set the Y coordinate to the height of the screen.
  3. In the animation, simultaneously move both pictures up.
  4. At the end of the animation loop, place the top picture down on the screen as in step 2 with the second picture.
  5. Repeat steps 3 and 4.