Overview
Continue building an iOS game using Swift and SpriteKit in this advanced tutorial. Learn to implement torpedo firing mechanics, detect collisions between projectiles and enemies, and create a game over screen. Explore vector subtraction, touch effects, math functions, and scene transitions while expanding on the foundational concepts from the first part of the series. Download provided assets and code to follow along, and gain hands-on experience with iOS game development using Swift's syntax and SpriteKit's powerful classes.
Syllabus
Intro
Vector subtraction
Touch effect
Math functions
Offset function
Add torpedo
Determine torpedo direction
Create torpedo velocity
Move duration
Action array
Contact Bodies
Scene Transition
Custom Initializer
Super Initializer
iOS Fonts
Message
Return from Scene
Taught by
Brian Advent