MonoGame可靠吗?

发布于 2025-01-05 01:24:27 字数 194 浏览 0 评论 0原文

我正在寻找一个跨平台的游戏开发框架。 MonoGame 看起来很容易学习并且开发速度很快,但我发现他们页面上的大多数游戏都无法运行,或者有很多bug。

谁能解释一下 MonoGame 对于 ios/droid 专业手机游戏开发是否可靠?

I'm looking for a cross-platform game development framework. MonoGame looks easy to learn and fast to develop, but I see most of the games featured at their page do not work, or have a lot of bugs.

Can anyone explain if MonoGame is reliable for ios/droid professional mobile game development?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

む无字情书 2025-01-12 01:24:28

这个问题很久以前就被问过,但值得更新。

MonoGame 团队展示流行的独立游戏。在撰写本文时,其中包括:

等。

归根结底,理论很有趣,但没有什么比看到使用该平台的极其成功的独立游戏更现实的了。

编辑 2014 年 1 月 27 日

截至 2014 年 1 月,Monogame 宣布他们将支持 PS4 但尚未针对 Xbox One 发布此类声明。

编辑 2014 年 9 月 9 日

添加了几个额外的游戏。另请查看 Twitter 上的 #MonoGame 哈希标签。

编辑2017年6月1日
Monogame 自 2016 年以来一直支持 Xbox One。

编辑 2020 年 8 月 20 日
Monogame 支持 Dot Net Core。

This question was asked a long time ago, but deserves an update.

The MonoGame team has a showcase of popular indie games. At the time of writing that includes:

among others.

At the end of the day theory is interesting, but nothing beats the reality of seeing extremely successful indie games using the platform.

EDIT 27-Jan-2014

As of Jan 2014 Monogame has announced that they will be supporting PS4 but has made no such announcement for the XBox One.

EDIT 9-Sep-2014

Added several additional games. Also check out the #MonoGame hash tag on twitter.

EDIT 1-June-2017
Monogame has supported XBox One since last 2016.

EDIT 20-August-2020
Monogame supports Dot Net Core.

你的背包 2025-01-12 01:24:28

Mono 产品 (www.xamarin.com) 的每个版本都变得越来越好。

目前,我正在将 2d 游戏从 Windows Phone (XNA) 移植到 iphone,并使用 ExEn (http://andrewrussell.net/exen/) 和 Monotouch (http://xamarin.com/monotouch),效果非常好。 (现在不支持 3d)

我使用 monogame (http://monogame.codeplex.com) v2 做了一些测试,发现了一些使用 ExEn 时没有发现的问题。使用 ExEn(几乎),一切都可以开箱即用。
ExEn 包括一个针对 Silverlight、iphone、android 等的优秀工作示例。这个示例是我的主要学习来源。

ExEn 的另一个优点是它的开发者:Andrew Rusell (https://twitter.com/#!/_AndrewRussell),是 XNA/DirectX MVP (http://andrewrussell.net/2011/10/look-at-me- im-an-mvp/)

ExEn 有什么问题吗?它的发展似乎已经停止。

Monogame 社区和开发者似乎更加活跃。他们最近发布了一个新版本(v2.1),我没有测试它。 v2.1 包括我们实现 3D 支持的第一步以及错误修复、优化和更多 XNA 4.0 支持 (http://cocoa-mono.org/archives/452/monogame-takes-tentative-steps-into-3d-monogame -2-1-announced/)

就我个人而言,我将继续使用 ExEn 进行移植,因为到目前为止一切正常(而且我几乎完成了:) 但对于我的下一个项目我会尝试一下 monogame 2.1。

Mono products (www.xamarin.com) are getting better and better with each version.

Currently I'm porting a 2d game from Windows Phone (XNA) to iphone and using ExEn (http://andrewrussell.net/exen/) and Monotouch (http://xamarin.com/monotouch) and it works really fine. (3d is unsupported right now)

I've done some test using monogame (http://monogame.codeplex.com) v2 and found some issues that I didnt find them using ExEn. With ExEn (almost) everything works out of the box.
ExEn includes an excelent working example for Silverlight, iphone, android, etc. This example was my primary learning source.

Other positive point to ExEn is its develepor: Andrew Rusell (https://twitter.com/#!/_AndrewRussell), is XNA/DirectX MVP (http://andrewrussell.net/2011/10/look-at-me-im-an-mvp/)

What's wrong with ExEn? its developemnt appears to be stopped.

Monogame community and developers appears to be more active. They recently release a new version (v2.1) that I didnt test it. v2.1 includes our first steps to 3D support as well as bug fixes, optimizations and more XNA 4.0 support (http://cocoa-mono.org/archives/452/monogame-takes-tentative-steps-into-3d-monogame-2-1-announced/)

Personally I'll continue my porting using ExEn because everything is working up to now (and I almost finish it :) but for my next project I'll monogame 2.1 a try.

何时共饮酒 2025-01-12 01:24:28

我刚刚完成一个同步/便携式开发项目。对于我的 5 个平台中的 4 个,我使用 Monogame 作为渲染基础(我的第 5 个是 HTML5 Canvas)。您可以在 http://unseenu.wikispaces.com/AnyGUI 中查看我的结果。

我的经验是这样的:

优点:

我从 Canvas 的 C#/JSIL 版本开始,因为那是最大的未知数。之后我的第一个移植是 OSX 和 Monogame。

OSX 移植进展非常顺利。我之前已经使用过 Monogame,所以我可能花了一周的时间才移植我的渲染层。

之后,实际上花了几个小时才让 Windows OGL 端口运行起来。

iOS 端口运行大约需要 2 天。其中大约一半是处理构建问题和 iOS 工具。另一半是让触摸输入工作,因为这是我的第一个移动平台。

我现在正在开发 Android,这是我第一次看到 Monogame 可移植性问题。剪辑似乎已关闭。除此之外,安装起来只需要几个小时,而且大部分时间都是在构建正确的环境。我不需要更改代码。 (虽然这个剪切问题是笔的问题。)

缺点:

我使用的是 OSX,工具可能有点时髦。最大的问题是 Monogame 对 Xamarin Studio/Monodevelop 的支持在 Mac 上不起作用。但这并不像听起来那么大。模板工作正常,损坏的是库引用。所以我只是单独下载了 Monogame,并在创建项目后将每个项目中的库引用更改为那些下载的库。我学会了这样做,我几乎没有遇到任何工具问题。

一般来说,C# 处理版本控制的能力相当糟糕。它对库版本非常挑剔,部分原因是 Microsoft 不想担心 .NET 向后兼容性。

这体现在尝试做多平台单一游戏上。过去我对此感到非常悲伤。尽管 Monogame API 是相同的,但当您针对它编译代码时,会将 Monogame 的特定平台库的引用烘焙到您的代码中。如果这是应用程序代码,那还不错,因为应用程序无论如何都需要为每个平台构建自己的版本,但如果您想要中间库,则意味着您需要为每个平台单独构建每个中间库,这是不可接受的。

我在这个项目中的解决方案是定义我自己的位于我的游戏和单一游戏之间的接口,这样我就可以通过运行时的依赖注入来注入实际的单一游戏代码。我最终将在我的网站上更详细地讨论这一点。

当然,另一个问题是您需要 Xamarin Mono for iOS 和 Android 来为这些平台进行开发,这需要花费一些钱。

所以简短的答案是这样的。总的来说,它是一个很好的 API,并且平台之间的实现大多是忠实的。它的形式和您需要使用的工具仍然有点粗糙,可能会给您带来一些痛苦。最后,这与我曾经开发过的所有其他游戏平台并没有太大不同。

I am just finishing a simultaneous/portable development project. For 4 of my 5 platforms I use Monogame as my render base (my 5th is HTML5 Canvas). You can see my results at http://unseenu.wikispaces.com/AnyGUI.

My experiences are thus:

The Good:

I started with the C#/JSIL version for Canvas since that was the biggest unknown. My first port after that was to OSX and Monogame.

The OSX port went very smoothly. I've already worked with Monogame before so it took me maybe a week to get my render layer ported.

After that it literally took a few hours to get the Windows OGL port running.

It took about 2 days to get the iOS port running. About half of that was dealing with build issues and the iOS tools. The other half was getting touch input working as that was my first mobile platform.

I'm working on Android right now, and its the first place I am seeing what seem to be Monogame portability issues. Clipping seems to be off. Other then that, it was a matter of hours getting it up and again most of that time ws getting the build environment right. Ive needed no code changes. (Though this clipping thing is an pen problem.)

The Bad:

I'm on OSX and the tools can be a bit funky. Biggest issue is that the Monogame support for Xamarin Studio/Monodevelop just doesn't work on the Mac. This is not as big an issue as it sounds though. The templates work all right, what is broken are the library references. So I just downloaded Monogame separately and I change the library References in each project to be those downloaded libraries after I create the project. One I learned to do that, I had few tool problems.

In general, C# handles version control pretty badly. Its very picky about library versions, in part because Microsoft did not want to worry about .NET backwards compatibility.

This shows up in trying to do multi-platform monogame stuff. I've had a lot of grief with that in the past. Even though the monogame API is identical, when you compile code against it that bakes a reference to the particular platform libraries for Monogame into your code. Its not so bad if thats application code, since applications need their own build for each platform anyway, but if you want intermediate libraries it means you need a separate build of each intermediate library for each platform, which is unacceptable.

My solution in this project has been to define my own interface that sits between my game and monogame so I can inject the actual monogame code through dependancy injection t run time. I'll be writing about this eventually on my site in more detail.

The other issue of course is that you need Xamarin Mono for iOS and Android to develop for those platforms and that costs some money.

SO the short answer is this. In general its a good API and the implementations are mostly faithful between platforms. The form it comes in and the tools you need to work with are still a bit rough and can give you some grief. In the end, thats not so different from every other game platform I've ever worked on.

身边 2025-01-12 01:24:28

是的……也不是。

2.5.1 的核心相当可靠,但在不同的地方仍然潜伏着错误。对我来说最值得注意的是,iOS 上的触摸屏坏了。

该团队几乎已经放弃了 2.5 系列,因此这些问题还没有得到修复。相反,所有焦点都集中在 3.0 上。我刚刚转换到 3.0,但它对资产提出了一些新的要求,这些要求目前让我感到悲伤......

总而言之,我必须将其称为“Alpha 级别”atm。

Yes... and no.

The core of 2.5.1 is pretty solid but there are still bugs lurking in various places. Most notably for me, TouchScreen is broken on iOS.

The team has pretty much abandoned the 2.5 line so these arent getting fixed. Instead all focus is on 3.0. I just convereted to 3.0 but it comes with some new requirements for assets that are currently giving me grief...

All in all I'd have to call it "Alpha Level" atm.

半步萧音过轻尘 2025-01-12 01:24:27

MonoGame 目前(据我们所知)在 iOS App Store 上发布了 28 款游戏,在 Android Market 上发布了 5 款游戏,还有一些最近在 Mac App Store 和 Linux 市场上发布的游戏。
如果其中任何游戏出现故障,请与开发人员联系,确认问题是否与 MonoGame 有关或其游戏中的错误。

MonoGame 并不完美,但正如已经提到的,它正在大家的帮助下积极开发和改进。两周前的周日,我们在 FOSDEM 会议上做了一次演讲,概述了我们来年将开展的工作。首先是 MonoGame 2.5 版本中对 ES 2.0 的支持(希望在接下来的 2-3 周内发布)。这将为我们所有的平台添加着色器支持。之后我们将专注于添加 3D,因此我们最大的版本是 MonoGame 3.0。

您可以在这里观看我们的 FOSDEM 演示视频 - http://www.youtube.com/watch?v=kLWE52mkii0" rel="noreferrer">http://www.youtube.com/watch? v=kLWE52mkii0
还有一个预告视频,展示了我们在 3D 支持方面的进展 - http://www. youtube.com/watch?v=vEAdC-4gfHI - 这是我们在 FOSDEM 上首次公开展示的在 MacOS X 上运行的 MIX10 3D Reach 演示2012。

如果您使用 Twitter,请关注我们的进展@MonoGameTeam。
我们倾向于在 irc.gnome.org 或 irc.gimp.org 的 #MonoGame 频道上讨论。
我们还尝试回答 monogame.codeplex.com 讨论区中的问题。

我希望以上信息有所帮助。

D .

MonoGame currently has ( that we know of ) 28 games published on the iOS App Store, and 5 on the Android Market place and also some recently published games on the Mac App Store and Linux markets.
If any of these titles are failing, please get in contact with the developers to confirm if the issue is MonoGame related or a bug within their game.

MonoGame is not perfect, but as already mentioned it is being actively developed and improved with everyone's help. 2 Sundays ago we did a presentation at the FOSDEM conference which outlined what we will be working on in the coming year. First off is ES 2.0 support in the MonoGame 2.5 release ( hopefully out in the next 2-3 weeks ). This will add shader support to all of our platforms. Then after that we will be focused on adding 3D and therefore our biggest release MonoGame 3.0.

You can see a video of our FOSDEM presentation here - http://www.youtube.com/watch?v=kLWE52mkii0
And a teaser video of how far we are along with 3D support here - http://www.youtube.com/watch?v=vEAdC-4gfHI - It is hhe MIX10 3D Reach demo running on MacOS X that we showed publically for the first time at FOSDEM 2012.

If you use twitter, follow our progress @MonoGameTeam.
We tend to talk shop on irc.gnome.org or irc.gimp.org on the #MonoGame channel.
We also try to answer questions in the monogame.codeplex.com discussion area.

I hope the above information helps.

D.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文