An Endless Runner video tutorial caps off our Endless Worlds Swift and Sprite Kit Series!
I’m sure I say this after every course, but this latest tutorial series now ranks among my favorites. And it helps to “go out” on a worthwhile topic like an endless runner game. I modeled this after the very-popular Banana Kong game in the App Store, so all you lucky learners not only get the nitty gritty details of how games like that are programmed, you also get a finished template to cut down on development time if you want to create an app like this yourself.
As usual this is a Swift and Sprite Kit based game. This 5th project builds upon our previous ones in the series with a few notable changes, and ironically some simplifications. Project 4, sported an RPG-style top down view, so our first job in this session is to switch the project to landscape and move the character in only one direction (to the east, whereas the previous project had the character moving N, S, E, W). Then we’ll give our character some typical side scroller controls (jumping, running, sliding and gliding). We’ll add a looping parallax background, and adjust our LevelUnit and Object classes to create ground/water planes and obstacles for 2D platform world. And finally we’ll finesse our collision detection code so the character can drop down through Platforms when swiping down, break certain objects when sliding, and of course get killed when running into other objects.
You can also see the final project in action below.