Categories
Playground SpriteKit SWIFT

Pong like game as iPad SWIFT Playground

Last week on WWDC Apple showed a short demo about a Swift Playground for iOS, which was part of iOS 10 on iPads. They focused on using playgrounds to teach kids and students coding. That seems a little bit unspectacular and is a great understatement. Swift Playground support a lot of advanced iOS libraries like SpriteKit, SceneKit, UIKit.  I was wondering […]

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
Apple TV SpriteKit SWIFT tvOS

Quick Tip: How to use the Apple TV remote to control a sprite in your TVOS Apps

How to use the Apple TV remote to control a sprite in your TVOS Apps Since my Apple TV Developer kit arrived one week ago I had plenty of time to try certain things. I will blog about some of my prototypes in the next days. Today I’ll will focus again on the remote control. […]

Categories
SpriteKit SWIFT tvOS

Quick Tip: How to use the remote control in your TVOS Apps for Apple TV in SWIFT

How to use the remote control in your tvOS Apps for Apple TV in SWIFT There are already dozens of ‘Hello world’ tutorials published for the new Apple tvOS, so let’s do something different. I’ll show how to use the remote control to move a sprite on Apple TV. It was surprisingly easy and took […]

Categories
AdSense and Admob iOS SWIFT

Quick Tip: Implement the new Google AdMob / AdSense Cookie Policy

In the last days Google sent out emails to App developers which uses their AdSense and AdMob frameworks explaining the new Google Cookie Policy. Google urges them to inform their users about the usage of the advertising cookies: From Google: European laws require that digital publishers give visitors to their sites and apps information about […]

Categories
AdSense and Admob iOS SWIFT

Quick Tip: Combine iAd and AdMob Ads for iOS in SWIFT

Use iAd and AdMob ads in the same app Today I’ll show how to use iAd together with AdMob ads. If you use the interstitial ads provided by Apples iAd frequently, you might have seen that the fill rate is not always 100 percent: One reason could be that there was just not enough time […]

Categories
AdSense and Admob iOS SWIFT

Quick Tip: Implement fullscreen / interstitial Ads for iOS in SWIFT

How to implement an Interstitial Ad combined with a counter Today I’ll show how to implement a often used pattern in free games: Usually you can play free games a certain time, till a fullscreen ad is shown. For example after each third game over an ad is shown. Implementing this behaviour for the iOS […]

Categories
In-App Purchase iOS SpriteKit

In-App Purchases

In-App Purchases: How to implement a space shooter with SpriteKit and SWIFT – Part 8         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 a HUD with SKLabelNode […]

Categories
iOS Social Media SWIFT

How to add Social Media Integration to your iOS App

Welcome to my new SWIFT tutorial. Today I’ll show you how to implement social media integration for Facebook and Twitter. Additionally I’ll explain Email integration and how to embed a direct  AppStore link to provide a convenient way for players to rate an app. My latest game in the AppStore contains a sample:   The […]