• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Pausing the Rotation

Right now, when you flip two cards over and don't make a match, they instantly flip back. It's so fast, you hardly have enough time to see what the second card was. In this section you'll add a simple timing mechanism to the game loop that will pause the rotation for half a second before the cards flip back.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint