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.

Devlog #7: Aspect Ratio
Johan Steen
by Johan Steen

It's devlog time and we reached the seventh episode following the progress of my indie game, which is a top down shoot'em up, that I am coding in Swift on top of the SpriteKit and GameplayKit frameworks.

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.

My goal has been that it shouldn't matter if you play the game on an 5" iPhone or on an Apple TV hooked up to a 42" display. The gameplay experience should be the same and the game should look great in both cases.

Enjoy.

Discuss this article

The conversation has just started. Comments? Thoughts?

If you'd like to discuss any of the topics covered in this article, then head over and hang out on Discord.

You can also get in touch with me, and keep up with what I'm up to, on Twitter or Mastodon.

Sign up to the newsletter to get occasional emails about my game development.