Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Role Playing Games with Sprite Kit: Heroes
Rating: 4.2 out of 5(81 ratings)
9,424 students

Role Playing Games with Sprite Kit: Heroes

Learn how to build a physics based hero inside of a basic top-down view level. All with Sprite Kit & property lists.
Created byJustin Dike
Last updated 10/2013
English

What you'll learn

  • By the end of this course you will have the foundation of countless Role Playing Games with Sprite Kit

Course content

6 sections29 lectures8h 1m total length
  • Introduction and Property List Features16:58

    In this video, we'll look at various versions of the demo project, each with slight tweaks to the Property List file that drives nearly everything in the published app. Of note, you can:

    • Change physics shapes for the character (square or circle)
    • Alter the size of the physics shape
    • Choose to enable or disable front, side or back view walk animations (as well as attack frames for each view)
    • Enable debug mode for each character or the background to see exactly where the physics bodies are defined.
    • Change the frame rate of the animates for each character.
    • Enable or disable health meters.
    • Set particle animations for each character's attack mode.
    • Change the style and reaction time for how the characters follow the leader.
  • Initial Setup23:54

    In this part of the Sprite Kit tutorial, we will handle most of the initial setup for the project. We import in some images to use early on, setup folders for the texture atlases, create our property list file, constants file and Level / Character classes.

  • Creating the Physics-Based World19:51

    In this video, we will create a physics-based world with Sprite Kit. This world will contain everything in our role playing game.

  • Creating the Physics-Based World (continued)22:45

    Next we will add a character inside of the physics world. To test the physics we will add gravity (later we will disable it), and this will give us an opportunity to test the contact listener delegate and get feedback from the level class when our character collides with a wall.

    The project as it was at the end of this video, has been added to the Supplemental Materials tab.

Requirements

  • Mac with Xcode 5

Description

In this first series of lessons on Sprite Kit based role playing games, we will create a physics-based world with a roaming hero that can collide with other heroes (and make them follow the leader). Nearly everything will be property-list driven (adjustable by changing text in a plist file) and we'll program options for each character to include / exclude front view animation, side view animation or back view animation. We will look at making the character attack, emit particles, receive damage, have a health meter, advance levels, restart levels and much, much more! All using Xcode 5 and Sprite Kit.

Who this course is for:

  • Anyone