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
Scrolling SpriteKit SWIFT

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

Endless scrolling with background tiles   Welcome to my tutorial series about scrolling: Part 1: Endless scrolling with background tiles Part 2: Natural endless scrolling with easing This video gives an impression what I’ll show today:       1. About the algorithm and the background tiles   Creating the image tiles for the scrolling […]

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 […]