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

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

问题描述

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

解决方案

很遗憾……没有:{

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

SpriteBuilder 仍然在 GitHub 上可用,但它不是活跃的 afaik 并且已被放弃.

那……怎么办?

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

如果您的目标是跨平台,那么您可以查看 Xamarin.forms 和 CocosSharp,这将使您在 C# 中编写一次运行无处不在的游戏

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

另一件值得关注的事情是 Silver,它具有适用于 Android 的 Swift 包装器.因此,您几乎可以直接移植游戏代码...

在所有情况下,您都必须为您使用的任何 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 游戏转换为 Android?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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