Create Your Own 2D Games With SpriteKit & Swift (Arcade Games)

$12.95

Early Access Beta Now Available!

SpriteKit is an excellent choice for creating 2D games for iOS, macOS, watchOS, and tvOS — especially if you’re already familiar with Swift and Xcode. In this book, you’ll learn how to make your own 2D Games with SpriteKit & Swift by making Gloop Drop.

– Pages: 74 (est)
– Published: 2019-01-24
– Release: 1.0
– Format: PDF
Category:

Description

Learn how to make your own 2D Games with SpriteKit & Swift by making Gloop Drop.

What’s Gloop Drop? Get It Now On The App Store.

Why SpriteKit?

SpriteKit is an excellent choice for creating 2D games for iOS, macOS, watchOS, and tvOS — especially if you’re already familiar with Swift and Xcode. While there are other options out there, like Unity and Unreal Engine, SpriteKit offers developers a way to create games for the Apple platforms in a native Xcode environment.

What do I need to work through this book?

To work through this 8-Bit Book™, you’ll need:

  • macOS High Sierra 10.13 or later.
  • Xcode 10.0 or later.
  • Basic Knowledge of Swift 4.2.
  • iOS 12 or later device.
    Although you’ll be using on the simulator in this book, you should have an iOS 12 device for proper testing.

Table of Contents

  • INTRODUCTION Available Now
    • Why SpriteKit?
    • The SpriteKit framework

Section I: Sprites and Nodes

  • CHAPTER 1: THE PROJECT Available Now
    In this chapter, you’ll start with the basics and get the project set up. You’ll work with the Asset Catalog and you’ll add the background and foreground to the scene.

    • Create the Project
    • Explore the Default Template
    • Clean Up the Default Template
    • Set Supported Device Orientation
    • Create a Scene
    • Create Your First SKSpriteNode
    • Position, Coordinates & Anchor Points
    • Add the Foreground
    • Next Steps
    • References

Section II: Actions and Animations

  • CHAPTER 2: THE PLAYER Available Now
    In this chapter, you’ll add the player to the game scene and focus on movement and animation in SpriteKit.

    • Animation
    • Add the Player Resources
    • Create the Player Class
    • Load the Textures
    • Use the Extension
    • Add the Player to the Scene
    • Animate the Player with Actions
    • Use the Animation Extension Move the Player
    • Constrain the Player to Platform
    • Set the Player’s Direction
    • Keep the Speed Consistent Next Steps
    • Next Steps
    • References

  • CHAPTER 3: COLLECTIBLES (GLOOP DROPS) Available Now
    In this chapter, you’ll continue to work with actions and create the gloop drop collectibles. You’ll also modify how the player moves.

    • Add the Gloop Drop Resources
    • Create the Collectible Class
    • Add the First Gloop Drop
    • Make the Gloop Drop Fall
    • Create More Gloop Drops
    • Modify Number of Gloop Drops Based on Level
    • Speed-Up Gloop Drops Based on Level
    • Adjust Player Movement
    • Next Steps
    • References

Section III: Physics and Collision Detection

  • CHAPTER 4: COLLISION DETECTION Available When Published
    In this chapter, you’ll work with the SpriteKit physics engine and add the necessary code so that the player can collect the gloop drops.

    • Physics Bodies & Other Settings
    • Contact Delegation
    • Handle Collisions
    • Next Steps
    • References

Section IV: Fine-Tuning & Finishing Touches

  • CHAPTER 5: MAKE IT SHINE Available When Published
    In the final chapter, you’ll add background music and the finishing touches to make your game App Store Ready!

    • Add Background Music
    • Display Player’s Score (SKLabel)
    • Scene Management
    • Add App Icon & Launch Screen
    • Next Steps
    • References

DOWNLOAD THE FREE CHAPTER NOW:
free-SpriteKit-Arcade-Games-B1_v1.pdf


– Pages: 74 (est)
– Published: 2019-01-24
– Release: 1.0
– Format: PDF