Categories
Parallax Effect Scrolling SWIFT

Quick Tip: Endless scrolling tutorial with SpriteKit and SWIFT (Part 2 of 2)

Natural endless scrolling with easing Welcome to my scrolling tutorial: Part 1: Endless scrolling with background tiles Part 2: Natural endless scrolling with easing   In part one I showed how to implement endless scrolling. This is working fine, but there is still room for improvements. The scrolling starts immediately with full speed and also stops […]

Categories
HUD iOS ObjectiveC Parallax Effect SpriteKit

HowTo: Implement a HUD with SpriteKit

Welcome to Part 8 of my blog series about game development: HUD with SpriteKit Today I’ll add a HUD (head up display) to the SpriteKit Scene. The HUD shows the remaining lives, current, level, score and has the option to pause the game: Create the HUD: 1. Create a new SpritKit project in Xcode:       […]

Categories
iOS ObjectiveC Parallax Effect Scrolling UIKit

HowTo: Extend endless horizontal scrolling with a vertical parallax effects

Welcome to Part 7 of my blog series about game development: Scrolling with parallax effects Today I’ll extend the parallax effect from part 5 of my posts with vertical scrolling. This should increase the illusion of depth. To control the movement I’ll use the motion sensors as described in part 6. Steps to achieve this […]

Categories
iOS Motion Detection ObjectiveC Parallax Effect Scrolling

HowTo: Use the Device Motion Sensors to control your game

  Welcome to Part 6 of my blog series about game development: Device Motion Sensors Today I’ll include motion detection to control the movement of my game. iOS offers a powerful API to handle motion detection with the CMMotionManager class. Let’s start with a small standalone project to show how to use the motion detection:  

Categories
iOS ObjectiveC Parallax Effect Scrolling UIKit

HowTo: Implement endless scrolling with parallax effects

Welcome to Part 5 of my blog series about game development: Endless Scrolling Today I’ll create a component which implements the endless scrolling and adds some parallax effects. I’ll use SpriteKit for that. A nice tutorial about SpriteKit can be found here and here and here. If you haven’t completed part 3 or 4, you can download the project from […]

Categories
iOS ObjectiveC Parallax Effect Scrolling

HowTo: Implement endless scrolling in iOS and ObjectiveC

  Welcome to Part 4 of my blog series about game development: Endless Scrolling Today I’m showing how to implement an endless scrolling which is typical for Jump & Run games.  First of all you need a background with 3 sections like the one shown below:     Section 1 and 3 must be identical […]

Categories
iOS ObjectiveC Parallax Effect Storyboard

HowTo: Design for depth

Creating a start screen with parallax animations using iOS motion effects: One highly noticed innovation in iOS 7 was the parallax effect on the home screen. When you tilt your device this gives you the impression of depth. Luckily it is incredible easy to implement this behaviour with the iOS 7 motion effects.   First you […]