Friday, March 28, 2014

HowTo: Implement endless scrolling with parallax effects

Welcome to Part 5 of my blog series about game development.

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 GitHub: v0.3

First of all we need some background images to show the infinite parallax scrolling. I've created four layers:

Background:





Tuesday, March 18, 2014

HowTo: Implement endless scrolling


Welcome to Part 4 of my blog series about game development.

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 and have to fit on the whole screen. 


Tuesday, March 4, 2014

HowTo: Add Splash Screen & Application Icons

Welcome to Part 3 of my blog series about game development.

Today I'm adding the app icons and a splash screen. I'll use an asset catalog for that. If you haven't completed part 2, you can download the project from GitHub: v0.2.1

First of all let's hide the annoying header bar:




You have to add to entries in the plist file: "Supporting Files/MyFirstGame-Info.plist"