2D 跨平台游戏开发引擎 [英] 2D Cross-Platform Game Development Engines

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

问题描述

我已经使用 Corona SDK 工作了一段时间,我很喜欢使用 Lua 创建功能强大的应用程序是多么快速和轻松.但是只能编译iOS和Android,现在感觉太少了.

I've worked for some time with Corona SDK and love how fast and easy I can create powerful apps using Lua. But it can only compile for iOS and Android, which feels like too little now.

我的主要兴趣是它能够编译到桌面和移动设备.至少在以下方面:

My main interest is for it to be able to compile to Desktop AND Mobile. At least for the following:

  • 适用于桌面的 Windows + Mac,作为独立应用程序.
  • 适用于移动设备的 iOS + Android.

我更喜欢它更倾向于 Lua 类型脚本而不是 ActionScript,但请随时发布您使用过和喜欢的任何内容.

I'd prefer it to lean more towards Lua type scripting instead of ActionScript, but please feel free to post anything that you have worked with and love.

到目前为止,我发现了以下引擎:

I've found the following engines so far:

  • Marmalade Quick - 经过进一步研究,Marmalade Quick 只能为移动设备构建!
  • IwGame - 在果酱之上工作并说它可以部署到使用 Lua 的桌面和移动设备.非常感谢有关此的任何信息
  • sio2 - 说SIO2 是基于 OpenGLES 的跨平台 2D 和 3D适用于 iOS、Android、MacOS 和 Windows 的游戏引擎"和该引擎也允许您将您的游戏移植到 Mac 商店和 Windows 上.",但是他们的论坛和网页标题是移动设备游戏引擎".不能查找有关是否可以部署到桌面平台的任何信息,任何信息都是再次非常感谢.
  • Loom Engine - Loom 类似于 Haxe + OpenFL(试图吸引 Flash 开发人员),因为它使用 AS3-类似于 ECMAScript,但它不会从中构建本机代码.但是它使用 Cocos2D 进行渲染,因此理论上它应该与 Cocos2D 一样快.——感谢博扬.
  • SDL - 我在多个地方读到 SDL 几乎可以部署到任何平台或设备,并且具有Lua 绑定.但我找不到它是如何工作的,因为它不是引擎.任何能够解释它是如何工作的以及是否可能的人,都非常感谢.
  • SFML - Windows、Linux、Mac OS X 以及即将推出的 Android 和 iOS."不使用 Lua,但可以使用其他语言,如 Java 和 Python 等.有人有这方面的信息吗?
  • Torgue2D - "Torque 2D 是使用 OS X、Windows 和考虑到 iOS 设备,并且在所有平台上都运行良好."使用 TorgueScript 而没有 Android =(
  • Sencha - 似乎可以编译到所有平台,也使用我知道的 Javascript.但是,即使使用 V8 JS,与其他选项相比,它的性能也会很好吗?
  • GameMaker - 自己的脚本语言 GML,我实际上记得这是一个非程序员.它是否真的发展成为真正的引擎,我的意思是认真开发?
  • Construct2 - 与游戏制作者相同的问题
  • Corona - Lua 但仅限移动设备(仅限 Android 和 iOS)
  • Cocos2D - 似乎它有很多选项,但不确定是否使用相同的语言?似乎您必须重新编写整个代码.如果 cocos2D 可以使用几乎相同的代码部署到桌面 + 移动设备,我们将不胜感激.
  • Angel2D - 说它可以部署到除 Android 和 Lua 之外的所有东西,有人用过这个吗?莉>
  • libgdx --- 我只见过这方面的好东西.这是 libgdx 的基准测试,我看到它以 60fps 的速度达到 40k 精灵.http://www.sparkrift.com/2012/1/love2d-vs-allegro-vs-clanlib-vs-libgdx-vs-cocos2d-x-vs-monogame-vs-xna-vs-sfml .看起来 libgdx 实际上几乎没有超过 30k.但看起来还是很神奇.这对我来说与 Qt 处于同一水平,几乎完美,除了我并不真正担心它的性能.libgdx 几乎可以为所有内容构建.
  • XNA + MonoGame --- MonoGame 的性能似乎只比 libgdx 略低,可以构建到大多数平台.但是我对 XNA 不太了解,听说它不会收到未来的更新,但它很稳定吗?欢迎提供更多信息.
  • Citrus --- 关于 Citrus 的信息也不多.可以为 iOS、Android、Windows、Mac 等平台构建的 AS3 游戏引擎.
  • Haxe + OpenFL --- OpenFL (Haxe) 在许多平台上构建到本机,而不仅仅是 Flash.Windows、Mac、Linux 和 Android 都有可选的本地部署或称为 Neko 的 OpenFL 运行时,理论上比 Flash 更快,SDL 2.0 将很快启用 iOS 部署(ish).-- 感谢博扬.
  • Qt-Project --- 只需在此处链接 Qt 项目,就可以构建所有内容并且有一个相当大的社区有很多第三方库可以进一步帮助您.
  • Moai ---我所知道的唯一可以为桌面和移动构建的 Lua 引擎.唯一的缺点是社区不是那么大,文档也不是最好的.但是,如果您能通过这些测试,那么这是一个很好的解决方案,也是我目前正在使用的解决方案.
  • Adobe --- 别忘了在此处添加 adobe,因为它可以构建所有支持闪存.
  • Unity3D --- 最近宣布的 2D 集成看起来很有前景,应该会在 2013 年第三季度至第四季度发布.
  • Cocos2d-x --- 一个开源引擎.支持 JS、Lua、C++ 等多种平台.
  • Html5 --- 似乎有很多强调 html5 移动应用程序,这里只是我发现的一些可以帮助将您的 html5 项目移植到平台的工具:

  • Marmalade Quick - After further looking into it, Marmalade Quick can only build for Mobile!
  • IwGame - Works on top of marmalade and says it can deploy to desktop and mobile with Lua. Any info is greatly appreciated on this
  • sio2 - Says "SIO2 is an OpenGLES based cross-platform 2D and 3D game engine for iOS, Android, MacOS and Windows" and "The engine also allows you to port your game on the Mac Store and on Windows.", but their forum and web title is "Game Engine for Mobile Devices". Can't find any info on if it can deploy to desktop platforms, any info is greatly appreciated again.
  • Loom Engine - Loom is similar to Haxe + OpenFL (attempts to attract Flash developers) in that it uses AS3-like of ECMAScript, but it doesn't build native code from it. However it uses Cocos2D for rendering so it should in theory be as fast as Cocos2D. -- Thanks to Bojan.
  • SDL - I've read in multiple places that SDL can deploy to nearly any platform or device and has a Lua binding. But i can't find how this works as it's not an engine. Any one who can explain how it works and if it's possible is once again, very much appreciated.
  • SFML - "Windows, Linux, Mac OS X and soon Android & iOS. " doesn't use Lua but can use other languages like Java and Python etc. Anyone have any information on this?
  • Torgue2D - "Torque 2D was developed with OS X, Windows, and iOS devices in mind and works equally well on all the platforms." uses TorgueScript and no Android =(
  • Sencha - Seems to compile to all platforms, uses Javascript too which I know. But even with V8 JS would this work well performance wise compared to other options?
  • 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?
  • Construct2 - Same question as gamemaker
  • Corona - Lua but mobile only (Android and iOS only as well)
  • Cocos2D - Seems like it has lots of options but not sure with the same language? Seems like you'd have to re-write your entire code. Any info if cocos2D can deploy to desktop + mobile with almost the same code would be greatly appreciated.
  • Angel2D - Says it can deploy to everything except Android and uses Lua, anyone ever used this one before?
  • libgdx --- I've only seen good things about this. Here is a benchmark test for libgdx and is where I saw it reaching 40k sprites at 60fps. http://www.sparkrift.com/2012/1/love2d-vs-allegro-vs-clanlib-vs-libgdx-vs-cocos2d-x-vs-monogame-vs-xna-vs-sfml . It seems libgdx barely goes over 30k actually. But still seems amazing. This is on the same level as Qt for me, almost perfect, except I'm not really worried about performance on it. libgdx can build for everything pretty much.
  • XNA + MonoGame --- MonoGame's performance seems only slightly lower than libgdx, can build to most platforms. However I don't know much about XNA and I heard it won't be receiving future updates, but is quite stable? More information is welcome.
  • Citrus --- Don't have much information on Citrus either. AS3 game engine that can build for iOS, Android, Windows, Mac and more.
  • Haxe + OpenFL --- OpenFL (Haxe) builds to native on many platforms, not just to Flash. Windows, Mac, Linux and Android all get optional native deployment or OpenFL runtime called Neko which is in theory faster than Flash, and SDL 2.0 will enable iOS deployment soon(ish). -- Thanks to Bojan.
  • Qt-Project --- Just linking Qt project here, can build for everything and has a pretty big community with lots of third party libraries to help you even further.
  • Moai ---The only Lua engine that I know that can build for Desktop and Mobile. Only downside is the community isn't that big and documentation isn't the best. But if you can get passed those this is a great solution and the one I'm currently using.
  • Adobe --- Can't forget to add adobe here since it can build to everything that supports flash.
  • Unity3D --- Recently announced 2D integration looks very promising, should be released Q3-Q4 of 2013.
  • Cocos2d-x --- An open source engine. Supports JS, Lua, C++ and multiple platforms.
  • Html5 --- There seem to be a lot of emphasise on html5 mobile apps, here are just a few tools I found that can help port your html5 project to a platform:

  1. Chromium 嵌入

煎茶

Phonegap

Appcelerator/Titanium

因此,如果您能根据您使用任何引擎的经验发表评论并建议您推荐哪一个,我会很高兴.感谢您的帮助!

So, I'd be happy if you could comment from your experiences with any engines and suggest which one you would recommend. Thank you for your help!

由于这个话题越来越流行,我将添加随着时间的推移我发现的其他选项.我建议您选择您最熟悉且最适合您的项目需求的内容.

Since this topic is getting popular I'll be adding other options I've found over time. I suggest you choose what is most familiar to you and best for your project needs.

推荐答案

我会推荐 V-Play(v-play.net) - 它是一个基于 Qt 的跨平台游戏引擎,适用于 iOS、Android、Symbian、MeeGo、Blackberry10,也可以为 Windows、Mac 和 Linux 的本机桌面应用程序导出.

I would recommend V-Play (v-play.net) - it's a cross-platform game engine based on Qt for iOS, Android, Symbian, MeeGo, Blackberry10 and also can export for native desktop applications for Windows, Mac and Linux.

它基于 C++,但对 QML & 有简洁的脚本支持.JavaScript.QML 很容易学习,并且可以提高您的工作效率,因为需要的代码更少 - 只需查看与 cocos2d-x(Loc 少 60%)或 Corona(LoC 减少 15%)用于相同游戏的比较.

It's based on C++ but has a neat scripting support for QML & JavaScript. QML is a no-brainer to learn and can boost your productivity as less code is needed - just see the comparison with cocos2d-x(60% less Loc) or Corona(15% less LoC) for a comparison of the same games.

(免责声明:我是 V-Play 的幕后推手之一)

(Disclaimer: I'm one of the guys behind V-Play)

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

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