Open aoberoi opened 1 year ago
Started exploring, but got stuck, and then created a StackOverflow question in order to figure it out. Ref: https://stackoverflow.com/questions/76795526/can-a-swiftui-matchedgeometryeffect-animation-be-combined-with-a-transition.
When a card view goes from the deck to the playArea and when a new game is started, the card transitions from face down to up (or vice versa). This transition would be nicer looking as a flipping animation, instead of the default opacity transition.
The flipping animation might actually help reveal or resolve issues with animations when cards are moved from one place to another (matchedGeometryEffect). The opacity transition is much harder to visually diagnose.