Convert Spritekit game to Android?

Are there any new ways to convert spritekit games to Android? It seems the only options are to transcode everything to Java or use Cocos2D, LibGDX, etc.

+11
android 2d sprite-kit cocos2d-x libgdx
source share
3 answers

Unfortunately not: {

And the cross-platform SpriteBuilder with the Apportable service, which allows you to convert your Swift Cocos project to Android, is no longer available (they were bought by Google, I think).

SpriteBuilder is still available on GitHub, but it is inactive and abandoned.

So ... what to do?

I would focus on iOS ... you can make your game cross-platform by switching to macOS and tvOS ... That's where all the money is on the market ... Apple products ...

If your goal, however, is cross-platform, then you can look at Xamarin.forms along with CocosSharp, which will give you the ability to write once in all C # games

You also have regular Xamarin available for writing gameplay code in C #, as well as its shared access to Android and SpriteKit wallpapers written in C #.

Another thing worth paying attention to is Silver, which has Swift wrappers for Android. This way you can directly pass the gameplay code ...

In all scenarios, you will need to find a different game engine for any Android solution you use.

IMO, developing with Swift for Apple, is much simpler and more fun than everything I've ever done with Android dev, although I prefer Android devices (go figure), and since the income is higher, it seems to be no-brainer for launch.

+7
source share

There are no easy options for supporting Android with SpriteKit, but with little difficulty and not too much difficulty, you can transcode your game to use Cocos2d-x. I just finished such a project for my game. It took me about four months to work during the break. I posted some tips here: http://doffen.org/porting-spritekit-to-cocos2d-x .

+6
source share

I would suggest looking here: http://processing.org/ and here: http://www.ricardmarxer.com/fisica/ Fisica is a jBox2D wrapper for processing, and it's pretty easy to use. There are several settings for Android, but not too complicated.

I did it the other way around (converting my fisica-based game to SpriteKit), and it was pretty easy to create a regex replacement to easily switch to fast syntax.

0
source share

All Articles