![]() If you’re a complete beginner, or solely focused on the Apple ecosystem: Use SpriteKit - it’s built-in, easy to learn, and will get the job done.The answer depends on what your goals are: In general, Unity just has more features and functionality than the SpriteKit/Scene Kit combination.Īfter this you may be thinking, “Well, which 2D framework should I choose?” Some of these components can save you a good bit of development time! Unity comes with a built-in asset store where you can buy various components for your game. SpriteKit does have a scene editor, but it is very basic compared to what Unity offers. Unity makes it extremely easy to lay out your levels and test your game in realtime with the click of a button. With Unity, you can easily port your games to Android, Windows, and more. If you use SpriteKit, you’re locked into the Apple ecosystem. You’ll need to upgrade if you want to avoid the Unity splash screen, for example. Unity does have a free version but it doesn’t have all of the features of the Pro version. Maybe one of the best reasons for small indies! You get all of SpriteKit’s functionality at no cost. For example, you can use the same SpriteKit code to make your game work on iOS, macOS, and tvOS without a hitch. This gives you some confidence that it will be well supported moving forward on all of Apple’s new products. If you already know Swift and iOS development, you can pick up SpriteKit extremely quickly. You can also seamlessly use other iOS APIs like iAd, In-App Purchases, etc. ![]() There is no need to download extra libraries or have external dependencies. Unity was originally developed as a 3D engine, but it has full built-in 2D support, too.īefore you get started, put some thought into whether SpriteKit or Unity is the best choice for your game. The most popular alternative to SpriteKit at the moment is a game framework called Unity. You can either follow along with this SpriteKit tutorial, or just jump straight to the sample project at the end. In this tutorial, you will learn how to create a simple 2D game using Apple’s 2D game framework, SpriteKit - using Swift! Swift is an easy language to get started with, especially if you are a beginner to the iOS platform.It’s easy to learn, powerful, and is fully supported by Apple. SpriteKit is one of the best ways to make games on iOS.Like Batman and Robin or Superman and Lois Lane, SpriteKit and Swift are an amazing combination: The original post was written by Ray Wenderlich. Update note: This SpriteKit tutorial has been updated by Brody Eller.
0 Comments
Leave a Reply. |