2D跨平台游戏引擎为Android和iOS? [英] 2D cross-platform game engine for Android and iOS?

查看:415
本文介绍了2D跨平台游戏引擎为Android和iOS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经工作了一段时间与Unity3d,发现它的2D部分与OnGUI()或GUITextures太拙劣。此外,即使是最小的游戏Unity3d做至少10MB的下载这只是太多的2D游戏。

I've worked for some time with Unity3d and found it's 2D part with OnGUI() or GUITextures too clumsy. Also, even a smallest game done on Unity3d is at least 10MB download which is just too much for a 2D game.

所以,我正在寻找一个引擎2D。我试过的Cocos2D,但它的iOS只,我不希望重写一切都变成为Android另一种语言(所以,对的cocos2d为Android例如Java的端口不是一个选项)。相反,我想写的code一次,以最少的麻烦部署在iOS,Android和可能的Windows Phone 7。我有Mac和Windows。

So, I'm currently looking for an engine for 2D. I've tried Cocos2D but it's iOS only and I wouldn't like to rewrite everything into another language for Android (so, e.g. Java port of Cocos2d for Android is not an option). Instead, I want to write the code once and with least hassle deploy it on iOS, Android and possibly Windows Phone 7. I have both Mac and Windows.

只是要更详细的,这里是我的要求,发动机:

Just to be more detailed, here are my requirements to the engine:

  • 必须是跨平台​​
  • 必须高效
  • 应该是C ++,Java和C#或目标C,因为我很舒服与他们的不是的闪存,使用Javascript,HTML5,因为我不是一个Web开发
  • 必须有一个大的社区,教程,覆盖了大部分的东西附加库你必须直接在iOS或Android开发时(在应用程序内结算,脸谱等)
  • 最终交付包必须不是太大
  • 发动机可以是免费的,但我也不会介意付出合理的价格
  • must be cross-platform
  • must be efficient
  • should be C++, Java, C# or Objective C since I'm comfortable with them and NOT Flash, Javascript, HTML5 since I am not a web developer
  • must have a large community, tutorials, additional libraries which cover most of the stuff you'd have when developing on iOS or Android directly (in-app billing, facebook etc.)
  • the final delivered package must be not too large
  • the engine can be free, but I also wouldn't mind paying a reasonable price

我已经找到了以下引擎:

I've found the following engines:

  • 果酱(和的 IwGame发动机在它的上面) - C ++,发现了果酱的整体非常正面的评价,但不知道IwGame。 修改(2013年3月):貌似果酱SDK现在包括Cocos2Dx和一些内置IDE这使得它更好的(和收费每年$ 150独立开发这是确定与我)
  • 科罗娜SDK - Lua的(效率值得怀疑),也需要互联网连接来编译code
  • 的Cocos2D-X - C ++,收到了许多评论的开发商,大多是积极的,许多人认为这是最好的2D
  • 颗粒code - 的Java + Eclipse中,没有发现任何评论或意见
  • 摩埃 - Lua中,coudn't发现任何评论/问题的看法
  • 猴子引擎 - 似乎有过几个特点
  • Haxenme - 这是闪光的,我从来没有使用过它,不想
  • 使用 Unity3d 但像2D工具包2D包
  • 港口 SDL 到的 Android的(也<一href="http://forums.libsdl.org/viewtopic.php?t=6471&sid=e8752d0c482fa77a95243b9210c9e33c">here)和的iOS - 不看有多大的支持或发展现状( ?)
  • GLBasic - Basic语言,我不喜欢
  • playN - (?)似乎是在开发的早期
  • Gamvas - HTML5,看起来并不像一个成熟的引擎,我
  • Ignifuga - Python的,也没有看起来成熟
  • ORX - (?)不知道,如果它仍在开发
  • 建设2 - 提醒游戏制作,可能是好的快速原型,但绝对不是工业级的游戏
  • XNA ,然后用口游戏的内胚层(需要单触移植到iOS和的单声道为Android 的移植到Android的) - C#,并可能是对人们从喜欢的Xbox微软的产品未来更多的思考(我来自Android的)。此外,这些单声道工具花费$ 800在总的中小开发商
  • 影响 - JavaScript中,使用HTML5。我没有太多成JavaScript(如preferred C#的Unity3d),也没有把握效率,因为它运行在浏览器(?)
  • 游戏制作 - 自己的脚本语言GML,我居然还记得这一个作为非程序员的工具。它是否真正发展成为一个真正的引擎,我的意思是严重的发展?
  • AppGameKit - C ++,但似乎依然pretty的新。没有找到任何评论就可以了
  • 使用的Cocos2D 和Objective C到开发的iOS只,然后使用的Stella SDK 。有没有人这样做呢?我是pretty的肯定会有限制,以及如何对谷歌的应用内结算,AdMob的和Facebook的整合在Android?
  • Moscrif - JavaScript的,看起来像它的多为前网络开发
  • 德裕 - 闪存11,我是没有多少到Flash
  • ND2D - ?还不1.0,它有很多功能
  • Marmalade (and IwGame engine on top of it) - C++, found overall very positive reviews of Marmalade but not sure about IwGame. EDIT (March 2013): Looks like Marmalade SDK now includes Cocos2Dx and some in-built IDE which makes it much better (and costs $150 per year for indie dev which is ok with me).
  • Corona SDK - Lua (efficiency doubtful), also needs internet connection to compile code
  • Cocos2d-x - C++, received lots of reviews from developers, mostly positive and many think it's best for 2D
  • Particle code - Java+Eclipse, found no reviews or comments
  • Moai - Lua, coudn't find any reviews/opinions on it
  • Monkey engine - seems to have too few features
  • Haxenme - it's Flash, I've never used it and don't want to
  • use Unity3d but with 2D packages like 2D Toolkit
  • ports of SDL to Android (also here) and iOS - doesn't look to have much support or current development (?)
  • GLBasic - Basic language, I don't like it
  • playN - seems to be early in development (?)
  • Gamvas - HTML5, doesn't look like a mature engine to me
  • Ignifuga - Python, also doesn't look mature
  • ORX - not sure if it's still developed (?)
  • Construct 2 - reminds GameMaker, might be ok for rapid prototypes but definitely not for industry-level games
  • XNA and then port the game using ExEn (would need Mono Touch to port to iOS and Mono for Android to port to Android) - C#, and is probably more thought for folks coming from Microsoft products like xBox (I come from Android). Also, those Mono tools cost $800 in total for small developers
  • Impact - JavaScript, uses HTML5. I'm not much into JavaScript (e.g. preferred C# on Unity3d), also not sure about efficiency since it runs in the browser (?)
  • GameMaker - own scripting language GML and I actually remember this one as a tool for non-programmers. Has it actually grown into a real engine, I mean for serious development?
  • AppGameKit - C++, yet seems to be still pretty new. Haven't found any reviews on it
  • use Cocos2D and Objective C to develop for iOS only and then make an APK for Android out of it using Stella SDK. Has anyone done this? I'm pretty sure there will be limitations, and how about Google's in-app billing, AdMob and Facebook integration on Android?
  • Moscrif - JavaScript, looks like it's more for former web-developers
  • Starling - Flash 11, i'm not much into Flash
  • ND2D - not yet 1.0, does it have many features?

所以,我会很高兴,如果你可以发表评论,从与发动机的经验,并提出其中一个列表中(或其他任何东西,我已经错过了)就是最好的说明要求。我也可能是错的一些发动机的我的第一个IM pressions。

So, I'd be happy if you could comment from your experiences with the engines and suggest which one in the list (or anything else that I've missed) is the best for the described requirements. I also may be wrong with my first impressions about some of the engines.

目前,我正在想果酱+ IwGame作为最佳的选择,但因为我没有关于的Cocos2D-X和粒子code很多信息,我真的不知道这件事。

I'm currently thinking of Marmalade+IwGame as the best option but since I don't have much info about Cocos2d-x and Particle code, I am not really sure about it.

感谢您!

修改(2013年6月):到目前为止,我做了2跨平台2D游戏和使用Unity3D与2D工具包插件两者。对于简单的GUI比赛中我使用了基于统一自己的一个简单的自制GUI系统。对于更复杂的一项(如那里的GUI元素可以重叠),我用了NGUI插件。最近2D工具包更增添了几分类图形用户界面,这是非常方便的,因为人们不得不用2个不同的系统,纹理地图时,与2D工具包结合NGUI。我一定会尝试,一个在接下来的2D游戏。最主要的原因选择Unity3D的2D游戏是,我已经是深入到Unity3D无论是在经验上积累了code片段进行再利用。另外,我购买Unity3D PRO(与Android专业版和iOS专业版)的3D游戏,它让感十足,只是支付额外的$ 60的2D工具包让2D游戏也包括在内。我至今不后悔我的决定,这似乎一直是最适合我的情况。这让我头疼的唯一的事情是增加社交功能与Prime31的插件(安卓和放大器; iOS的社交插件),但我认为他们的错误是不是Prime31,而是对微博/ Facebook的故障,所以我可能会看到同样的错误任何其他引擎或插件。

EDIT (June 2013): So far I made 2 cross-platform 2D games and used Unity3D with 2D Toolkit plugin for both. For the game with simple GUI I used a simple self-made GUI system based on Unity's own. For more complex one (e.g. where GUI elements can overlap) I used the NGUI plugin. Recently 2D Toolkit added some more classes for GUI which is very handy since one had to use 2 different systems for texture atlases when combining NGUI with 2D Toolkit. I'll definitely try that one in the next 2D game. The main reason for choosing Unity3D for 2D games was that I already was deep into Unity3D both in terms of experience and accumulated code snippets for re-use. Also, I purchased Unity3D pro (with Android Pro and iOS Pro) for 3D games and it made full sense to just pay additional $60 for the 2D Toolkit to get 2D games also covered. I so far don't regret my decision, it seems to have been optimal for my case. The only thing which gave me headache was adding social features with the Prime31's plugins (Android & iOS social plugins) but I assume that their bugs are not the fault of Prime31 but of Twitter/Facebook instead, so I probably would see the same bugs on any other engine or plugin.

修改(2014年1月):我想使用Unity 4.3的答案,我的问题是pretty的明显的现在:统一的新的精灵系统,也许还2DToolkit完全别的击败任何事情,特别是对于人谁(像我一样),一会儿是团结和购买专业版加载项。

EDIT (Jan 2014): I guess with Unity 4.3 the answer to my question is pretty obvious now: the Unity's new sprites system and maybe also 2DToolkit totally beat anything else, especially for people who have (like me) been on Unity for a while and purchased the Pro version with add-ons.

推荐答案

我已经与果酱工作,我发现它满足。尽管这不是免费的,开发者社区也不够大,但你仍然可以处理大部分任务使用它的教程。 (我会写我的教程,一旦我得到了一些时间太)。
IwGame 是一个很好的引擎,由果酱用户的一个发展。这是很好的一个基本的游戏,但如果你正在寻找一些严肃的高级游​​戏的东西,你也可以使用的Cocos2D-X 果酱。我从来没有用过的Cocos2D-X,但有在果酱的 Github上的扩展。
约果酱的另一个好处是它的 EDK(扩展开发工具包),它可以让你做的任何功能,你需要扩展,它是在原生code可用,但不在果酱。我用它来开发自己定制的Admob的延伸和扩展的Facebook也。

I've worked with Marmalade and I found it satisfying. Although it's not free and the developer community is also not large enough, but still you can handle most of the task using it's tutorials. (I'll write my tutorials once I got some times too).
IwGame is a good engine, developed by one of the Marmalade user. It's good for a basic game, but if you are looking for some serious advanced gaming stuff, you can also use Cocos2D-x with Marmalade. I've never used Cocos2D-x, but there's an Extension on Marmalade's Github.
Another good thing about Marmalade is it's EDK (Extension Development Kit), which lets you make an extension for whatever functionality you need which is available in native code, but not in Marmalade. I've used it to develop my own Customized Admob extension and a Facebook extension too.

修改
果酱现在有它自己的RAD(快速应用开发)工具只是2D的开发,命名为 果酱快速 。虽然编码将在Lua不是在C ++,但因为它是建立在C ++的果酱顶部,您可以轻松地将C ++库,和所有其他EDK扩展。另外,科科斯-2DX 的Box2D 扩展pincluded在快速$ P $。他们最近推出了它的发布版本(这是在测试3-4个月)。我觉得我们你真的想找只有2D的发展,你应该给它一个尝试。

Edit:
Marmalade now has it's own RAD(Rapid Application Development) tool just for 2D development, named as Marmalade Quick. Although the coding will be in Lua not in C++, but since it's built on top of C++ Marmalade, you can easily include a C++ library, and all other EDK extensions. Also the Cocos-2Dx and Box2D extensions are preincluded in the Quick. They recently launched it's Release version (It was in beta for 3-4 months). I think we you're really looking for only 2D development, you should give it a try.

更新:
Unity3D最近推出的2D游戏,这似乎比任何其他2D游戏引擎更好,因为它的GUI和编辑器的支持。物理,精灵等的支持是内置的。你可以有它的样子。

Update:
Unity3D recently launched support for 2D games, which seems better than any other 2D game engine, due to it's GUI and Editor. Physics, sprite etc support is inbuilt. You can have a look on it.

这篇关于2D跨平台游戏引擎为Android和iOS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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