Skip to content
0:00 / 0:00

#spritekit#codable#ios

Building a space shooter with SpriteKit and Codable – Swift on Sundays March 31st 2019

Paul Hudson

122K subscribers • 15 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Paul Hudson, creator of Hacking with Swift
  • Linked in the descriptiontwostraws/SwiftOnSundays
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

58K views7 years ago2 recommendations

Game developmentMobile developmentSwiftUnity, Unreal and GodotGame programming

Paul Hudson builds a 2D space shooter game using SpriteKit, physics, particle effects, Core Motion, and Codable in Swift.

In this episode we use SpriteKit, physics, particle effects, Core Motion, and Codable to build a fast 2D shoot 'em up set in space. You can download the finished project for this and all Swift in Sundays streams: github.com/twostraws/SwiftOnSundays

Why it's here

2 people recommend this

What people say. Recommended as a great starting point for building 2D games in Swift using SpriteKit.

u/maartenein r/swift • Recommends

On “Should I make 2D platform games in Swift? Or should I use something else like Unity?”

I'd say, give it a go! Especially if you already know Swift. SpriteKit can be a lot of fun. The book suggested by /u/UnseenWorldYoutube sounds like a great starting point. And Paul Hudson has a few great tutorials using SpriteKit: [video and [video Regarding the "Apple Framework vs Game Engine" choice: You state you want to create "endless runner" type games. So, you'll have procedural generation which fits the programmatic approach the Apple frameworks take quite well. Personally, when I want to create something like a platformer - where level design is key - I find the Xcode scene editor to be lacking. In particular compared to something like Unity.

u/djryanashin r/swift • Recommends

On “After all my time searching this sub, I finally bought an apple air. What else do I need to get started creating apps?”

Great! Welcome to the club! Create an Apple Developer account and download Xcode (from the website, not the App Store) Hacking with Swift has a load of free tutorials and also some paid content and books and stuff. The 100 Days of Swift course is fantastic. I recommend it over the 100 Days of SwiftUI course because it’s more similar to Swift as a whole. You can get into SwiftUI later on. Angela’s Yu’s Udemy course is also excellentand that’s the route I took when I got started but it is a few years old and a bit outdated now. But I consider that a good thing because it teaches one the necessary skills to find updates resources oneself. If you wanna get started right out the gate, do…