Last Chance: RW Accelerator Bootcamps

Bootcamps start August 15th — Don't miss out!
Save 50% and go from novice coder to job-ready mobile developer in just 12 weeks.

Home

Video Tutorial: How To Make a Game Like Flappy Bird in Swift Part 9: Sharing Score

Learn how to let the player share their score with other users using the Activity View Controller.

Challenge

Your challenge is to:

  • Add a “tutorial screen” before the game begins, using the “Tutorial” and “Ready” sprites
  • The initial state should be GameStateTutorial; when the user taps you should switch to GameStatePlay
  • Be sure to create switchToGame and switchToPlay methods
  • Hint: If you’re doing it right, there shouldn’t be any setup calls in initWithSize:delegate: anymore!

Please Note: The artwork in this game is by Mike Berg at weheartgames.com. He’s a great guy, highly recommended btw! :] You have permission to use the code from this game in your own apps, but you do not have permission to use the artwork.

Download lecture slides

Download demo starter

Download demo finished

Download challenge finished

View next video: Main Menu
View previous video: Presenting a Scorecard

We’ve added a new feature to our newest videos, English subtitles! You can now click the ‘CC’ button in the video player bar to turn subtitles on or off.

Contributors

Comments

Reviews

More like this