Skip to content
0:00 / 0:00

#spritekit#swift#shaders

Building a SpriteKit game with physics, particles, and shaders – Swift on Sundays February 24th 2019

Paul Hudson

122K subscribers • 15 videos on Hallway

YouTube
  • Recommended by 4 people: 4 in engineering communities.
  • A classic. People kept recommending it from 2019 to 2023.
  • Presented by Paul Hudson
  • Linked in the descriptiontwostraws/SwiftOnSundays
  • May be out of date. Uploaded 7 years ago, in an area where tools change fast.

Intermediate. Assumes working knowledge.

61K views7 years ago4 recommendations

Game developmentGraphics and audioUnity, Unreal and GodotGame programmingRendering

Paul Hudson builds a match-three game from scratch using SpriteKit, physics, particle effects, and fragment shaders.

In this episode we build a SpriteKit match three game with physics, particle effects, fragment shading, and more. You can download the finished project for this and all Swift in Sundays streams: github.com/twostraws/SwiftOnSundays

Why it's here

4 people recommend this

What people say. Recommended as an excellent tutorial for learning SpriteKit and game development in Swift.

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/nomo-nomadin r/swift • Recommends

On “What’s everyone working on this month? (March 2020)”

i wish I had more to say other than just slowly reading and re-reading documentation. The documentation browser in Xcode i've found pretty helpful. It's mostly the same docs found on apple.com but it's quick and near effortless to look something up. Also, as I'm sure others have said, Paul Hudson's videos have been super helpful. This one I remembered being particularly good: Link . Once I got around "everything as a node" and the process of how a scene renders and updates itself, I felt like i started making some headway. Another great resource was this game I found on github: Rock Rats . Looking through the source code of a fully functional game is super helpful. You can edit and rebuild…

u/Open_Bug_4196in r/swift • Recommends

On “How do I start?”

Here a video from Paul creating a game using as a base the game template, hope it helps: link to this video

u/gilgoomeshin r/swift • Recommends

On “Is SpriteKit still being used and how to learn it?”

Paul Hudson’s SpriteKit videos are excellent: link to this video