Kategorien
iOS SpriteKit SWIFT

Control Sprites with SKAction and SKConstraint

How to implement a space shooter with SpriteKit and SWIFT – Part 2: Adding enemies, bullets and shooting with SKAction and SKConstraint   Tutorial Overview: How to implement a space shooter with SpriteKit and SWIFT Part 1: Initial project setup, sprite creation and movement using SKAction and SKConstraint Part 2: Adding enemies, bullets and shooting with SKAction and SKConstraint Part 3: Adding […]

Kategorien
iOS SpriteKit SWIFT

SKAction and SKConstraint

Use SKAction and SKConstraint: How to implement a space shooter with SpriteKit and SWIFT – Part 1 Initial project setup, sprite creation and movement using SKAction and SKConstraint Tutorial Overview: How to implement a space shooter with SpriteKit and SWIFT Part 1: Initial project setup, sprite creation and movement using SKAction and SKConstraint Part 2: Adding enemies, bullets and […]

Kategorien
My Games

Writing games is more fun than writing a blog post

New teaser video for my upcoming tutorial Sorry, I love writing blog posts, but this time I have written a small game instead of completing my tutorial. Here’s another short teaser video: That’s all for today. The complete code will be available at GitHub soon. Cheers, Stefan  

Kategorien
iOS SpriteKit SWIFT Xcode

Kick off for my new SpriteKit and SWIFT Tutorial

I’m preparing a new tutorial: How to implement a space shooter with SpriteKit and SWIFT My goal is to implement a complete space shooter with SpriteKit and SWIFT. Content is: Part 1: Initial project setup, sprite creation and movement using SKAction and SKConstraint Part 2: Adding enemies, bullets and shooting with SKAction and SKConstraint Part 3: Adding a HUD with SKLabelNode […]

Kategorien
iOS SpriteKit SWIFT

HowTo: Implement targeting or follow behaviour with SpriteKit and SKConstraint in SWIFT

Welcome to Part 14 of my blog series about iOS game development: SpriteKit and SKConstraint At the developer conference WWDC, in June this year, Apple showed a new class in SpriteKit: SKConstraint. It can be used to define constraints for the orientation, the distance or the position of SpriteKit nodes. In my todays blog post I’ll show […]

Kategorien
iOS ObjectiveC Storyboard UIKit Xcode

How to use an Universal Storyboards in Xcode

Welcome to Part 13 of my blog series about iOS game development: Universal Storyboards At the developer conference WWDC, in June this year, Apple showed a nice concept for targeting multiple form factors: The Universal Storyboards. Basically this replaces the iPad and the iPhone specific storyboards  with one universal storyboard. To enable different layouts for tablet […]

Kategorien
Apple TV iOS Motion Detection ObjectiveC SWIFT

How to combine / convert ObjectiveC into SWIFT

Welcome to Part 12 of my blog series about game development: convert ObjectiveC into SWIFT Today I’ll show how to combine SWIFT with Objective-C code. There is no need to migrate all of your existing code to SWIFT. You’ll not sell one App more, if this is the only improvement of your new version. Not […]

Kategorien
ObjectiveC SWIFT

WWDC 2014 and SWIFT

Welcome to Part 11 of my blog series about game development. I’ve been busy the last weeks with watching WWDC videos. So much new stuff and so little time ;-).  My favorites are Swift, Playground, Sprite Kit enhancements like the new level editor and especially this new Interface Builder Feature: It is possible to use ONE Storyboard to […]

Kategorien
iOS ObjectiveC SpriteKit Storyboard UIKit

HowTo: Implement a Delegate Pattern to communicate between a SpriteKit Scene and the parent ViewController

Welcome to Part 10 of my blog series about game development. Today I’ll show how to use a delegate pattern to communicate with the ViewController which contains our Scene. You can download the project from GitHub: v0.7 if you haven’t completed part 8. One of the most important characteristics of this pattern is ‚Inversion of control‘. The goal of […]

Kategorien
iOS ObjectiveC Xcode

HowTo: Organize ObjectiveC code with the pragma mark directive

Welcome to Part 9 of my blog series about game development: pragma mark directive   Todays post is very short. I’ll only show how the ‚#pragma mark‚ directive can help you to organize your code. The navigation bar on top of the code window provides the possibility to navigate in your code. Just click on the last entry: […]