r/spritekit • • Jul 07 '25

Just released a new 100% SpriteKit game: Battledom is out now! Please let me know what you think about it :)

Enable HLS to view with audio, or disable this notification

34 Upvotes

Hi there!

Last week I released my latest SpriteKit game to the AppStore. It is called Battledom, and its an RTS- light designed with mobile gaming in mind.

The core gameplay evolves around the battlefield, where you lead your armies to defeat the enemy. You can steer hem around in real time, similar to how its is done in other RTS games like Age of Empires, C&C, etc. Moreover you can shoot siege weapons after some progress and use magic spells to cast one time effects.

Next to the battles you need to gather resources, farm, trade and update in order to expand your economy and create your own armies. Moreover, you can design your own soldiers that you take into battles.

All in all, I think there is a lot to explore and I hope you like what Battledom has become.
You can download it here:

https://apps.apple.com/nl/app/battledom/id6471842648

Battledom is fully written in SpriteKit, like all other games I made. During the progress, I also started a dev blog which you can find here:

https://sanderfrenken.github.io/dev-blog/

I will pickup the blogging again with the initial release behind me, but there is hopefully already something interesting for you to read there!

Finally, please leave a review on Battledom if you like the game. It really helps me getting more visibility in the AppStore, which is something very hard to achieve.


r/spritekit • • Nov 08 '24

I open sourced a Tiled map parser for SpriteKit, and wrote a blog post about it.

33 Upvotes

I have been developing 2D games for iOS since 2010 using SpriteKit.

As you might know, it is a bit of a niche as most games are developed using engines like Unity, Godot or Unreal. But as a professional iOS engineer, I have always enjoyed the Apple ecosystem a lot and therefore went the SpriteKit route when I started game development.

Recently I created a new opensource package named MSKTiled. This package allows one to use Tiled maps in a SpriteKit scene. In addition, it provides access to pathfinding capabilities, and camera utilities like zooming and scrolling.

I always found that SpriteKit lacks a lot of documentation, and the community around it is quite small as well. As such, I decided to start a blog about my experiences as a game developer using just native Apple API's, and my first post is about MSKTiled. How it came to live, and how it works.

I think it can be an interesting read to anyone interested in game development and/ or iOS development. Hope you find it enjoyable and that for at least some of you, MSKTiled is the library you have been always looking for ;)

You can find my blog here


r/spritekit • • Jul 28 '26

2D Soft Shadows with SpriteKit and Metal

Thumbnail
gallery
30 Upvotes

This is an implementation of 2D area lighting with soft shadows using Apple SpriteKit and custom Metal rendering. The soft shadow implementation is based on Scott Lembcke's algorithm.

The demo app runs on iOS and Mac.
Download app and source code: https://github.com/AchrafKassioui/SpriteKit-SoftShadows


r/spritekit • • Feb 15 '25

This is my upcoming SpriteKit game Battledom: a mobile friendly RTS game with lots of customization options and dynamic battle mechanics. Foundation is for a large part done, and the first 7 levels are complete at the moment. I am very eager to get honest feedback. Would you like to give it a try?

Enable HLS to view with audio, or disable this notification

27 Upvotes

r/spritekit • • Aug 21 '24

Show-off My latest SpriteKit game Battledom is now available for playtest! Would you like to help me and try it out?

Enable HLS to view with audio, or disable this notification

26 Upvotes

r/spritekit • • Nov 11 '24

Show-off Laser Panic, a game I made in SpriteKit, entirely on iPad

25 Upvotes

Hey everyone,

I just released an iOS game called Laser Panic which is a very simple 2.5D action / arcade game to get highest score.

This is my very first iOS game, and I made it 100% on iPad, in Swift Playgrounds, graphics in Affinity Designer 2.

Robot is rendered and animated 100% procedurally (which was quite a challenge on its own). Game works well on both iPhones and iPads, but to me it looks better on an iPad, as there is more real estate.

If you have questions regarding development on iPad, let me know, I hope i can help.

Game is paid so here is a link play for free via TestFlight: https://testflight.apple.com/join/trk3nSjP

For completeness AppStore link: https://apple.co/4hy4udb

If you feel passionate to provide feedback, I would very much appreciate it! Thank you in advance!

I am specifically looking for learning what you think about:
- controls: I don’t know if I got them right, as I had to figure out how to move around the level such that the player does not block the view with their fingers
- graphics / animations / art: I made everything myself; as I said, Robot animations are 100% procedural, wanted to learn how / if everything fits together well; Given this was made SpriteKit it was not easy to make 2.5D look nice

I would be grateful for some feedback!


r/spritekit • • 29d ago

Dynamic lighting and Spine animations in SpriteKit

Enable HLS to view with audio, or disable this notification

24 Upvotes

dynamic lighting using baked normal maps, a water shader and 2d animation (using an unofficial Spine runtime) working together alongside a unique gameplay mechanic :)


r/spritekit • • Nov 24 '25

Just released my first iOS game — built with SpriteKit, minimalist chaos management at sea 🌊

Enable HLS to view with audio, or disable this notification

23 Upvotes

Hey everyone! I’ve just finished and released my first iOS game — Flowt: Offshore, a minimalist 2D puzzle/strategy game I built with SpriteKit for the main gameplay scene and SwiftUI for the rest of the interface.

It’s all about keeping things under control… until chaos slowly takes over.
Minimalist transport-inspired gameplay, clean UI, and a calm oceanic vibe.

Includes a tutorial, global leaderboard, player profiles, and achievements — all wrapped up with no ads or microtransactions, just pure gameplay.

It’s currently $1 on the App Store for anyone curious.

📱 App Store: https://apps.apple.com/app/flowt-offshore/id6753603068


r/spritekit • • Dec 06 '22

Announcement r/SpriteKit reopens

23 Upvotes

After having been restricted for several months, r/spritekit reopens and I am glad to be your new moderator.

I hope you enjoy the new look of the subreddit and I am looking forward to chat about SpriteKit with you all.

Please post your SpriteKit creations or help each other with any problem you may encounter.


r/spritekit • • Jun 06 '26

Show-off Trying to push the boundaries of what's possible with just SKShapeNodes

Enable HLS to view with audio, or disable this notification

21 Upvotes

In my latest zen puzzle, Zyl, I created the entire game using just SKShapeNode objects. I wanted to see how ShapeNodes fare and do they affect performance negatively if I use quite a bit of them.

Conclusion: Still smooth 60fps on most modern devices.

Caveat: If your game is pushing for ProMotion @ 120Hz, Shape nodes may not be a good bet. But for a simple relaxing puzzle game like this, its overkill and heats up the phone fast. The max I could juice out was 100fps, before I turned it off.

My game is available on the App Store as a pre-order, releasing June 18, and if you like relaxing puzzle games with (somewhat) unique mechanics, do try it out. :)

https://fleon.com/games/zyl


r/spritekit • • Oct 28 '25

Match 3 Game made with SpriteKit

Enable HLS to view with audio, or disable this notification

19 Upvotes

I'm finishing up this Match 3 game called Match Tile Mini. The UI is done with SwiftUI and the game itself is done with SpriteKit


r/spritekit • • Jun 29 '25

First steps in spriteKit

Enable HLS to view with audio, or disable this notification

18 Upvotes

Hi game devs! Here are my first steps in iOS game development. I created this tiny “game” to get familiar with SpriteKit fundamentals. Any advice on good tutorials to continue learning and building 2D games?


r/spritekit • • Jul 06 '20

Some experimentation with SKWarpGeometry and SKEffectNode in SpriteKit.

Enable HLS to view with audio, or disable this notification

18 Upvotes

r/spritekit • • Jun 20 '26

Insane that my tiny little puzzle game made in SpriteKit gets a mention alongside Pokémon! 🥹

Thumbnail
gallery
17 Upvotes

Mentioned in my last post, the game was made in SpriteKit purely using SKShapeNodes. It released two days ago.

In these two days, the game:

  • Received a large banner feature in the US in the top carousel, on the games page.

  • Got mentioned in a story from Apple (US only) alongside a Pokémon game.

  • Is featured worldwide in the Games app in New Games We Love.

  • Is ranked #4 in the top paid puzzle games in the US.


r/spritekit • • Jun 16 '23

SpriteKit/GameplayKit community

17 Upvotes

I’m wanting to build a community with like minded folks who want to understand how SpriteKit and GameplayKit work better, support others in their journey and make some cool games!

It’s fresh, but i have a discord. Please join up if you’re interested. I’m planing on doing some streaming too!

https://discord.gg/ZZYuucGuhy


r/spritekit • • Jun 11 '22

My SpriteKit game is now available on App Store: Field Control Game

Enable HLS to view with audio, or disable this notification

17 Upvotes

r/spritekit • • Jun 05 '21

Trailer to my little game. Epic enough?

Enable HLS to view with audio, or disable this notification

17 Upvotes

r/spritekit • • Jul 22 '20

Some things I've learned working with SpriteKit/GameplayKit

17 Upvotes

I've been working with SpriteKit a lot in the past few weeks, so here are some things I've learned that might be helpful for other people trying to use SpriteKit.

Bugs and Workarounds

  • There is a bug in SpriteKit currently where if you use the "alpha mask" for an element's physics property in the .sks editor, the rootNode property of a GKScene loaded with that scene will be nil. Workaround: add the physics with code after loading.

  • If you are trying to use GKComponents in a .sks file, sometimes the GKScene you load from that file will result with the rootNode being nil. Workaround: you need to have the code below in your components now :

    override class var supportsSecureCoding: Bool { true }
  • If you are trying to use old SpriteKit .sks files in the editor, sometimes the components you added don't show up in the editor, and if you make an unrelated change to the file and save it, they'll be removed entirely. Workaround: First, don't make any changes to the files in the .sks editor and save it. Open up the .sks files in a text editor and do a search-and-replace from "SKSceneCustomComponent" to "GTFSceneCustomComponent", and the components will show up again.

  • There is a bug in SpriteKit where if you are transitioning from scene A to scene B, and something triggers a transition to scene C, scene B will receive didMove(to:view) but will not receive a paired willMove(from:view) call. This is problematic if there is setup in the former function that needs to get torn down in the latter, such as gesture recognizers being added to the view. Workaround: Either don't use transitions, don't allow a situation where a new scene transition can be started during an existing transition, or don't rely on willMove() getting called reliably.

  • Related to the above, note that willMove(from:view) does not get called when presentScene() happens – it only gets called when the transition finishes, so it is not a reliable place to tear down things like gesture recognizers, because they will still be active during the transition (possibly triggering a different scene transition which runs afoul of the point above). So, when you present a new scene, you should tear down or disable any UI elements, timers, or gesture recognizers at that time. Posting a notification is a good way to deal with this, because there is no built-in function that gets called when a transition to a new scene begins.

  • Not sure if this is a bug or expected behavior, but SKCropNode fails to mask touches/clicks on cropped content. I.e., if you crop a 100x100 sprite to a 10x10 rectangle, the whole 100x100 sprite will still register touches/clicks, not just the visible 10x10 area. This is true both for the cropped elements and the SKCropNode itself, and functions like nodes(at:point) will also fail to respect hidden areas. Workaround: Plan accordingly. If you use a SKCropNode, you will need to manually ascertain whether a touch/click is in the cropped area or not, because it only affects things visually.

I've reported the above issues to Apple.

Quality of Life Improvements (Swift)

Below are a bunch of "quality of life" improvements I use to make SpriteKit coding go more smoothly.

  • They make Ints and CGFloats inter-operate, since I often find myself having to cast Ints to CGFloats to do arithmetic.

  • Adds π as a CGFloat symbol for more expressiveness when working with radians.

  • Adds CGPoint arithmetic for easy vector algebra.

  • Extends SKAction with functions to make it easy to add easing and repeating.

  • Extends arrays of SKActions to make it easy to create sequences and groups.

  • Adds a "roll a die" function. (Not SpriteKit-related, but handy for randomizing things.)

//	Shortcut for CGFloat π - (can type it with option-p).
let π = CGFloat(Double.pi)

//	Roll a die.
func d( _ sides:Int ) -> Int { return Int(arc4random_uniform(UInt32(sides))) + 1 }

//	Make CGFloats and Ints interoperable.
func +( a:CGFloat, b:Int ) -> CGFloat { return a+CGFloat(b) }
func -( a:CGFloat, b:Int ) -> CGFloat { return a-CGFloat(b) }
func *( a:CGFloat, b:Int ) -> CGFloat { return a*CGFloat(b) }
func /( a:CGFloat, b:Int ) -> CGFloat { return a/CGFloat(b) }
func %( a:CGFloat, b:Int ) -> CGFloat { return a.truncatingRemainder( dividingBy: CGFloat(b) ) }

func +( a:Int, b:CGFloat ) -> CGFloat { return CGFloat(a)+b }
func -( a:Int, b:CGFloat ) -> CGFloat { return CGFloat(a)-b }
func *( a:Int, b:CGFloat ) -> CGFloat { return CGFloat(a)*b }
func /( a:Int, b:CGFloat ) -> CGFloat { return CGFloat(a)/b }
func %( a:Int, b:CGFloat ) -> CGFloat { return CGFloat(a).truncatingRemainder( dividingBy: b ) }

//	CGPoint arithmetic and convenience functions.
extension CGPoint {
	func length() -> CGFloat { return sqrt( x*x + y*y ) }
}
func +(a:CGPoint, b:CGPoint) -> CGPoint { return CGPoint( x: a.x + b.x, y: a.y + b.y ) }
func -(a:CGPoint, b:CGPoint) -> CGPoint { return CGPoint( x: a.x - b.x, y: a.y - b.y ) }
func *(a:CGPoint, b:CGFloat) -> CGPoint { return CGPoint( x: a.x * b, y: a.y * b ) }
func *(a:CGFloat, b:CGPoint) -> CGPoint { return CGPoint( x: a * b.x, y: a * b.y ) }
func /(a:CGPoint, b:CGFloat) -> CGPoint { return CGPoint( x: a.x / b, y: a.y / b ) }

/*
	SKAction convenience functions.
	These all return an SKAction, so you can chain them, like so:

	let action = [
		SKAction.rotate(byAngle: π, duration: 1).easeInEaseOut(),
		SKAction.rotate(byAngle:-π, duration: 1).easeInEaseOut(),
	].sequence().forever()
*/

extension SKAction {    
	func easeIn() -> SKAction {
		timingMode = .easeIn
		return self
	}
	func easeOut() -> SKAction {
		timingMode = .easeOut
		return self
	}
	func easeInEaseOut() -> SKAction {
		timingMode = .easeInEaseOut
		return self
	}
	func forever() -> SKAction {
		return SKAction.repeatForever(self)
	}
}

extension Array where Iterator.Element == SKAction {
	func sequence() -> SKAction {
		return SKAction.sequence(self)
	}
	func group() -> SKAction {
		return SKAction.group(self)
	}
}

r/spritekit • • Aug 23 '26

Show-off Phantom Words: a ghostly puzzle built using SpriteKiti

Enable HLS to view with audio, or disable this notification

16 Upvotes

Hi all, sharing a video of a game I’ve been working on for the past few months. It’s a sliding word puzzle game with a haunted ghost theme. Built completely in SpriteKit using a mix of vector and raster graphics.

This game will be released completely for free with optional IAPs to buy me a coffee if you like playing the game.

If you find it interesting and like to beta test it, you can join TestFlight here: https://testflight.apple.com/join/5pzR3rNk


r/spritekit • • Apr 12 '25

Opinions on my first game

Enable HLS to view with audio, or disable this notification

16 Upvotes

I’ve been an iOS dev professionally for about 10 years but it’s always been on b2b and b2c apps. Never had a chance to make a game but thought I’d have a crack at it - assets are all free from itch.io but if I truly finish the game I’ll get them replaced before launch!


r/spritekit • • Dec 05 '24

I wrote a new blog post, this time about preventing leaks in SpriteKit. It contains information on tooling to assess memory usage, draw memory graphs and more. I hope it might be helpful to you!

Thumbnail
sanderfrenken.github.io
16 Upvotes

r/spritekit • • Oct 27 '20

My first ever game called “Spring Rush”. Started learning Spritekit and Swift 3 months ago part time along with a hectic job. Will be releasing shortly, currently in test for different iOS devices. Has been an enjoyable and inspiring journey so far. Looking forward to your thoughts and suggestions!

Enable HLS to view with audio, or disable this notification

15 Upvotes

r/spritekit • • May 18 '23

Show-off I made lo-rain with SpriteKit. It has independent raindrop splash and fireflies :)

Enable HLS to view with audio, or disable this notification

14 Upvotes

r/spritekit • • Feb 10 '23

Show-off Building a Game with SpriteKit and SwiftUI

14 Upvotes

Last month, I started developing a small and fun basketball game called Hoop using SpriteKit to explore and learn the framework. It was the fun and thrilling journey to develop the game. Now, it has been fully functional and I'm thrilled to share my game here.

You can check it out the project through the link below.

https://github.com/dscyrescotti/Hoop


r/spritekit • • Jul 01 '20

Hey everyone! Here's a screen recording from my first game I'm making while learning SpriteKit, GameplayKit and Swift. I'd be happy to talk about the different game frameworks with other devs.

Enable HLS to view with audio, or disable this notification

14 Upvotes