将Spritekit Game转换为Android? [英] Convert Spritekit Game to Android?

查看:129
本文介绍了将Spritekit Game转换为Android?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有用于将Spritekit游戏转换为android的新选项?似乎唯一的选择是用Java重新编码所有内容或使用Cocos2D,LibGDX等.

解决方案

不幸的是...否:{

带有Apportable服务的跨平台SpriteBuilder(可将您将Swift Cocos项目转换为Android)不再可用(我相信它们已被Google收购).

SpriteBuilder仍可在GitHub上使用,但它不是活动的afaik,已被放弃.

那...该怎么办?

我将专注于iOS ...您可以通过转换为macOS和tvOS来使您的游戏成为跨平台" ...这就是市场上所有资金的来源...苹果产品...

但是,如果您的目标是跨平台,则可以与CocosSharp一起查看Xamarin.forms,这将使您编写一次在C#中随处可见的游戏

您还可以使用常规Xamarin来用C#编写游戏代码,并在用C#编写的Android和SpriteKit包装器之间共享它们.

另一件事要看的是Silver,它具有适用于Android的Swift包装器.因此,您几乎可以直接移植Gameplay代码...

在所有情况下,您都必须为使用的任何Android解决方案找到另一个游戏引擎.

IMO,即使我更喜欢Android设备(见上图),用Swift为Apple开发比我以前用Android开发人员所做的任何事情都容易得多,也更有趣,而且由于收入较高,这是不可行的-大脑启动.

Are there any new options for converting a spritekit game to android? It seems the only options are to recode everything in Java or to use Cocos2D, LibGDX, etc.

解决方案

Unfortunately ... no :{

And the cross-platform SpriteBuilder with the Apportable service that let you convert a Swift Cocos project to Android is no longer available (they got bought out by Google I believe).

SpriteBuilder is still available on GitHub but it's not active afaik and is abandoned.

So... what to do?

I would focus on iOS... you can make your game "cross platform" by converting to macOS and tvOS... This is where all of the money is in the market... Apple products...

If your goal however is cross platform, then you can look at Xamarin.forms alongside CocosSharp which will give you write once run everywhere games in C#

You also have regular Xamarin available to write gameplay code in C#, and share it across Android and SpriteKit wrappers written in C# as well.

Another thing to look at is Silver which has Swift wrappers for Android.. thus letting you port Gameplay code almost directly...

In all scenarios you will have to find another game engine for whatever Android solution you use..

IMO, developing with Swift for Apple is much easier and more fun than anything I've ever done with Android dev, even though I prefer Android devices (go figure), and since the revenue is higher it is sort of a no-brainer for starting up.

这篇关于将Spritekit Game转换为Android?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆