iOS Game Development Tutorial 3: Spawning Moving Obstacles with Collision Detection

Опубликовано: 28 Сентябрь 2024
на канале: A Casual Programmer
2,441
6

We add obstacles to the game!

SKTUtils is open source so here's the link!!
https://github.com/raywenderlich/SKTU...
all you need is the file that is marked SKTUtils.
Once you have the file, drag it into your project (like you did with the images). After that, open "Supporting Files", and open the file labeled "FirstGame-prefix.pch" add this after the last import statement

#import "SKTUtils.h"

Now you can use the methods anywhere in your build!