Endless Worlds with Swift and Sprite Kit – Index
    Login               Join           |
Endless Worlds with Swift and Sprite Kit In this iOS video tutorial series we will explore (quite literally) endless worlds. That is to say, we will create levels procedurally that can challenge players with limitless gameplay.Created by: Justin😍 1   👍 2   😐 1![]() |
Get full access...Lifetime Access! Get access to everything forever. Yes, everything. Yes, forever. Our best deal for sure! Need a coupon? Skip googling for one... Subscribe Yearly Yearly subscribers get access to everything! Auto-cancels after two billings, at which point you qualify for a free Lifetime Membership! |
Section 1The Endlessly Moving World Node.In this first project we will populate a perpetually moving "world" node with randomly generated physics objects. We also look at converting CGPoint locations in Swift from the worldNode coordinates to scene coordinates, enumerating through every child in the scene, adding and clearing out nodes as needed, and much more! |
Section 2Endless Level UnitsIn this series of videos we will modify the project from the first section and create "level units", for example, sections or modules of a level that each can contain their own objects and get created or removed as needed. The finished example project creates a kind of elevator style game where the character hops from platform to platform as long as possible. We will also look at the code to randomly move each platform (or any object) up and down and switch direction if it exceeds the visible screen area, as well as some ever-useful code to always center a world node on the player. |
Section 3Crossy Frogger ProjectIn these video tutorials we will create an endless game similar to Frogger or Crossy Road. Level units will again be created on the fly, with the distinction now of being either a "road" type or "water" type, each one having their own type obstacles. Physics-wise we will have four Body types: road, water, roadObject (cars) and waterObject (lilypads), and leave the door open to many more possibly! |
Section 4Endless RPG Style LevelIn these vides we will convert the previous project to an endless top-down viewed RPG style world. The player can wander endlessly through randomly generated worlds, possibly to avoid objects or collect them. We will setup an array to track "level unit" locations that have already been added, then as the character wanders around, create new level units as needed. We will also include the option to remove level units the character has left (which could replace those units when the character walked back to them) |
Section 5An Endless Runner - The Grand EnchiladaThis series of video tutorials teaches how to create a Banana Kong style game, where the character can run, slide, jump or glide to get past all the elements in the game. This super fast running app uses Swift and Sprite Kit and is completely optimized to handle generating and removing levels on-the-fly. |
Category: Game Development  -   Primary Software: Xcode  -   |
Get a Free account...