Skip to content

Latest commit

 

History

History
 
 

47-Project23

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Project 23 - Swifty Ninja

https://www.hackingwithswift.com/100/77

Includes solutions to the challenges.

Bonus:

  • New game option

Topics

SKShapeNode, AVAudioPlayer, CGPath, UIBezierPath, SKTexture

Challenges

From Hacking with Swift:

  1. Try removing the magic numbers in the createEnemy() method. Instead, define them as constant properties of your class, giving them useful names.
  2. Create a new, fast-moving type of enemy that awards the player bonus points if they hit it.
  3. Add a “Game over” sprite node to the game scene when the player loses all their lives.

Screenshots

screenshot1 screenshot2 screenshot3