Tag

Swift

Devlog #10: Game States

Devlog #10: Game States

In this episode I introduce quite a few new things, including damage and health, game states with GameplayKit and fragment shader with SpriteKit.

Devlog #9: Bullet Pattern Engine

Devlog #9: Bullet Pattern Engine

In this episode I introduce the first iteration of my shoot'em up bullet pattern engine written in Swift as well as a bunch of Level Editor enhancements.

Devlog #8: Animation States & Paths

Devlog #8: Animation States & Paths

In this episode the animation component has been improved and can handle more states and orientation. Also a path editor prototyped in Xcode playgrounds is introduced.

Asynchronous Operations in Swift

Asynchronous Operations in Swift

This is the first part of two dealing with how to handle preloading of SpriteKit game assets in Swift using an OperationQueue with asynchronous Operation objects.

Devlog #7: Aspect Ratio

Devlog #7: Aspect Ratio

This episode is focused on aspect ratio in SpriteKit and my approach to handle the logic to keep the gameplay fair and consistent between devices with different aspect ratios and resolutions, without having to resort to letter boxing.