Role Playing Games Tutorial with Sprite Kit and Swift 3 - Part 1

How to Make the Player Attack

Role Playing Games with Swift and Sprite Kit 2
This Swift / Sprite Kit video tutorial continues teaching how to make a top-down attack for our player. We’ll make the AttackArea class grow then remove itself using a sequence of SKActions. Then we’ll save an SKAction (in the Actions.sks file) of animated textures to use instead of the simple blue circle placeholder. Then we’ll do the same thing to make our character swing his sword. Finally we’ll use the didBegin contact statement to detect when the AttackArea touches a castle. We’ll then remove the castle, just to prove our attack is working. Later on we’ll have the character actually attack an enemy.

Can’t see the video? Subscribe!…

  • Billed monthly until cancelled

  • Billed once per year, 2 times

Buy Now

Become part of the CartoonSmart Team with our Affiliate Program

Make recurring money when you refer a subscriber. 30 day tracking. Commissions 33%-50%!

Uh oh, missing your affiliate ID. Create one real quick