Is it possible to develop a AAA (Triple A) RPG on a Mac with Swift?

I am a n00b and learning to develop, but I want to work my way up to game development. I have looked into using a game engines, but I don't know C++, don't think I ever will and C# isn't as interesting as Swift.


My hope is to develop games that are for the Mac using Swift and the game dev APIs. I haven't seen anything state emplicitly that I can't, but it looks like everying developed in SpriteKit, SceneKit, Metal, etc., is ONLY for iOS and not for developing games on the Mac. I've seen numerous tutorial videos and books, but everything is geared to iOS. I'll switch to Unity if I have to get games on the Mac, but I was really hoping that I could stick with Swift since I am really enjoying it.


Also, if there are some games who have been developed this way what are they? I would love to check them out..

Those frameworks are also available on macOS. They are not just iOS. Lots of tutorials are geared toward iOS because that platform gets more love than macOS. Even though macOS is a better platform in my opinion.

Sprite Kit is arranged in such a way that almost every line of code you write works equally well on iOS and macOS, and tvOS for that matter. (That's why it has type redefintions such as SKColor that mean NSColor or UIColor depending on the platform.) Usually, the only differences you have to worry about are:


— The view controller is a little bit different on macOS, because NSViewController and UIViewController aren't as close as other Cocoa cross-platform classes.


— The input method is different (macOS: mouse/keyboard, iOS: touch, tvOS: remote gesture).


— On macOS, you may have to deal with resizable windows in ways that don't make sense for iOS.


If you're developing for Mac only, start with a Mac SpriteKit app template, and you should be able to figure it out from there.

Thanks Macho Man! I'll put my head down, hands on the keyboard and push forward.

I appreciate the details QuincyMorris, I'll keep them in mind as I push forward through those beginner growning pains.

When you start a new Sprite Kit based project be sure to check out the Cross-Platform one. Sets up the iOS and MacOS targets (even Watch OS). If you're making a MacOS game, might as well make it for iOS too.

Good advice.

Is it possible to develop a AAA (Triple A) RPG on a Mac with Swift?
 
 
Q