Playing with SpriteKit in a Swift Playground - Update
/Time to update my Swift SpriteKit Playground example... now with added SpaceCats!
Read MoreAt WWDC 2014 Apple introduced a new programming language, Swift. At this point everyone has exactly zero days experience in Swift. This blog will capture and share our learning, and I hope the learnings of others as we go.
Time to update my Swift SpriteKit Playground example... now with added SpaceCats!
Read MoreIn the last article we looked at providing a better (and purely Swift) implementation of GameplayKit's Entity/Component architecture. By better I didn't mean "it's Swift so it's better"... I meant better at solving the stated objectives of GameplayKit: Rendering framework independence and composition. I focused on composition last time, this time I look at how the Swift GameplayKit implementation (and Swift itself) makes rendering framework independence easy.
Read MoreWe continue our exploration of Swift 2.0, GameplayKit, and SpriteKit by using GKStateMachine to make our game behave a little more like a real game without making our standard code more complex.
Read MoreWe continue our playground exploration of GKGameplayKit, SpriteKit and Swift 2.0 by actually creating some player objects and helping them navigate their way around asking GKGridGraph's path finding abilities.
Read MoreiOS 9 and OS X El Capitan strengthen Apple's gaming line up with GameplayKit, which augments the graphics (and physics) engines with a game engine. Over the coming weeks I'm going to walk through the process of developing a "bomber man" style game using SpriteKit and GameplayKit.
The code will be supplied in a playground that will have a page for each blog entry. In general, I'll discuss concepts in the blog, and leave explanations of specific pieces of code in comments or Playground markup. There's going to be a lot to cover, so let's get started.
Read MoreI'm quite familiar with game engines, I've written a few in my time (I started on the Commodore 64, but didn't "get paid" until the Amiga. Look 'em up kids.). GameplayKit sounded very interesting so I was keen to get stuck in. After 24 hours, I've got some mixed feelings.
Read MoreSwift Playgrounds let you put any views (like a SpriteKit view) into the time line in just a few lines of code.
Read MoreI'm sick of it. Just sick of it. Have you actually heard yourself? It's just shameful and embarrassing. I'm a middle aged, white, nerd blogger. All the toast, jam side up. I have had enough of whinging, spiteful, bitter, and stupid people who are harassing women/LGBT/muslims/whatever around the internet. I know that every time I tweet something positive about these people I lose followers.
Powered by Squarespace
Make the Swift 2.2 to 3.0 transition a little easier with these useful regular expressions for XCode