Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Apple Swift Tutorial - Simple iOS Swift Game

Brian Advent via YouTube

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

Reviews

Start your review of Apple Swift Tutorial - Simple iOS Swift Game

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.