I've updated all my SWIFT tutorials to SWIFT 1.2 and XCode 6.3. You can find them here.
Friday, April 24, 2015
Monday, April 20, 2015
New Blog Domain
I've moved my blog to a new domain: developerplayground.net
Unfortunately it looks like Google has lost it's interest in Blogspot. There have been no major updates in the last two years.
It also looks like that it is nearly impossible to get AdSense running with a Blogspot domain.
It also looks like that it is nearly impossible to get AdSense running with a Blogspot domain.
I have moved my blog to a new domain. I'll continue posting links and copies of my articles also here for a while.
Wednesday, March 4, 2015
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 four buttons at the bottom of the screen trigger the social actions:
Labels:
App Store rating,
auto layout,
Facebook,
Game Development,
iOS,
iTunes connect,
MFMailComposeViewControllerDelegate,
SLComposeViewController,
social media integration,
SWIFT,
tutorial,
twitter,
Xcode
Tuesday, February 17, 2015
How to implement a space shooter with SpriteKit and SWIFT is in the AppStore
The sample game developed in my SpriteKit Tutorial is in the AppStore:
SourceCode: here
A more sophisticate game also based on the tutorial:
Tutorial Overview:
- 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 and SKSpriteNode
- Part 4: Adding basic game logic and collision detection
- Part 5: Adding particles and sound
- Part 6: GameCenter integration
- Part 7: iAd integration
- Part 8: In-App Purchases
Monday, February 9, 2015
How to implement a space shooter with SpriteKit and SWIFT - Part 7: iAd integration
Adding iAd integration
Welcome to part 7 of my swift programming tutorial. In the previous parts we've created sprites, added movement, enemies with a follow behaviour, bullets & shooting, a HUD, collision detection, sound & particle effects and a global leaderboard using Game Center. Today I'll show how to integrate the Apple Advertising Framework iAD:
- Enable iAd in iTunesConnect
- Add a Banner Ad (at the bottom of the screen)
- Add a Fullscreen Ad (after game over)
Wednesday, January 14, 2015
How to implement a space shooter with SpriteKit and SWIFT - Part 6: Game Center integration
Adding Game Center integration
Welcome to part 6 of my swift programming tutorial. In the previous parts we've created sprites, added movement, created enemies which follow our sprite, added bullets, a HUD, collision detection, sound and particle effects. Today I'll show how to integrate Game Center to add a global leaderboard.
The most complex part is doing configuration stuff in iTunes Connect. 3 from 4 steps of this tutorial are related to that. You need a paid Apple Developer Account to execute the next steps:
- Upload our App to iTunes Connect
- Create a Leaderboard in iTunes Connect
- Create a Sandbox Test User in iTunes Connect
- Coding
Labels:
Game center,
Game Development,
game kit,
gamekit,
iOS,
iTunes connect,
leaderboards,
space shooter,
SpriteKit,
SWIFT,
tutorial,
Xcode
Wednesday, December 17, 2014
How to implement a space shooter with SpriteKit and SWIFT - Part 5: Particles and Sound
Adding particles and sound
Welcome to part 5 of my tutorial series. In the previous parts we've created a sprite, added movement, created enemies which follow our sprite, added bullets, a HUD, collision detection, ....
But, for a real game some important elements are missing to beautify the game:
I'll show how to implement this today. As a starting point you can download the code from tutorial part 4 here.
Welcome to part 5 of my tutorial series. In the previous parts we've created a sprite, added movement, created enemies which follow our sprite, added bullets, a HUD, collision detection, ....
But, for a real game some important elements are missing to beautify the game:
- Sound effects: explosions, game over, ...
- Particle effects: explosions, background star field
I'll show how to implement this today. As a starting point you can download the code from tutorial part 4 here.
Labels:
collision detection,
follow algorithm,
Game Development skaction,
parallax starfield,
particle effects,
SKConstraint,
skphysicsbody,
sound,
space shooter,
SpriteKit,
SWIFT,
tutorial
Subscribe to:
Posts (Atom)

