Animtion
- CGAffineTransform
- scale
- rotationAngle
- translationX
- UIButtonExtension
This projet is personnal, i love to play Risk, and i wanted to learn animation in Swift.
Created a UIButton Extension with function for animation (shake, pulse, flash).
Created func for animate the dice (rotate, scale, translationX).
So when you press the attack or defense button the buttons and the dices will start to be animate.