Skip to content

revolalex/IOS-SWIFT-Animation-RIsk-Dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

IOS-SWIFT-Animation-RIsk-Dice

Swift, IOS

Animtion

  • CGAffineTransform
  • scale
  • rotationAngle
  • translationX
  • UIButtonExtension

Simulator Screen Shot

Risk Dice

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.

Screenshot

Simulator Screen Shot


UIButtonExtension

Capture d’écran 2020-02-11 à 15 55 46

About

I love to play Risk so I create this app for roll the dice

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages