Minimising object by sliding left/right while maximising another object onto the screen

StackOverflow https://stackoverflow.com/questions/23473442

  •  15-07-2023
  •  | 
  •  

Question

What class/properties/method should I use when I want to create a screen that causes object to move away from screen while minimising when I swipe my fingers left or right, which will bring up a new object onto the screen maximising it. Like when you're choosing a music and you're swiping left and right, the disc minimises to the left/right while another disc maximises from the left/right.

An example of this would be the Angry bird star wars level selection page.

Était-ce utile?

La solution

Your question is awfully vague, and it sounds like you're asking how to create an original animation.

I think you are asking for a time machine like effect, where there are a stack of tiles that fade off into the distance.

Take a look at the iCarousel framework, available on github, and written by Nick Lockwood. It has lots of different ways of presenting groups of tiles, including a time machine look.

Take a look at this image: enter image description here

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top