哪个平台开发基于web的游戏?平台、游戏、web

2023-09-03 11:17:09 作者:两腿之间丶犯罪深渊

我想编写一个新的基于Web的游戏,并想知道如果任何人有在哪个平台上,我应该选择的任何建议。

I'm thinking of writing a new web-based game, and wondered if anyone had any suggestions on which platform I should opt for.

本场比赛将是基于2D精灵,但需要维持一个体面的fps的速度(有可能会达到20件事情感动)。一切都会通过鼠标控制。

The game will be 2D sprite based, but will need to maintain a decent fps rate (there'll probably be up to 20 things moving at once). It'll all be controlled via the mouse.

我日常使用的.NET,因此Silverlight的似乎是一个自然的选择我,但我想,以确保尽可能多的人可以玩越好...

I use .NET daily, so Silverlight seems a natural choice for me, but I want to make sure as many people can play it as possible...

可Silverlight的游戏开发直出的Visual Studio(我有VS 2008),或者是否需要额外的软件(以及什么费用......) 在Silverlight中是否具有在.NET版本方面有什么限制,(我可以使用例如.NET 3.5?) 我可以使用哪些物理引擎? 闪光灯会是一个更好的选择吗?是否有自由发展的环境吧(这有什么好处)? (我不关心学习曲线) 就是Java仍是一个选项?

所以,我只是想上什么是最适合我的一个简单的2D网络为基础的游戏中最好的东西一定的反馈。

So I just wanted some feedback on what's the best thing for me to use for a simple 2D web-based game.

编辑:

您可以提供更多的信息?是   这种单人/多人游戏?什么   一种流派?会不会有很多   经典的UI涉及(大量表格   有很多按钮/复选框,   数据网格等等)?会不会有很多   动画和特效的?

can you provide more information? is this single-player/multi-player? what kind of genre? will there be a lot of classical UI involved (lots of forms with lots of button/checkboxes, datagrids etc.)? will there be a lot of animation and effects? 在单人游戏,与敌人的攻击波 在敌人只有移动的事情,球员只是点和点击 在没有经典的界面,只需点击按钮(无列表/下拉菜单等) 最小的动画和特效,只有图形的要求是敌人的移动(这将需要小动画)

推荐答案

我也有兴趣在基于Web的2-D游戏。因为我个人喜欢的Silverlight,因为:

I'm also interested in web-based 2-d games. I personally favor silverlight because:

我已经熟悉C#/。NET。 它有很多的功能,即使它不是多达全面的WPF。我听说LINQ单是真棒游戏。本地存储也可以加分。有丰富的选择控件,你可以使用你的游戏的图形用户界面的部分。老实说,WPF失去在有趣的控制条款的Silverlight。 这是完全免费的。您需要下载Silverlight工具包为VS,但是这是没有问题的。

一个很酷的事情是,你可以做到全屏显示。我还发现它是速度不够快(在我的酷睿双核笔记本电脑)来处理对象的像样的数目。即Silverlight的将是winmobile 7的一个重要部分这一事实也是一个很好的点(虽然我们必须看到如何转出)。

One cool thing is that you can do full-screen displays. I also found it is fast enough (on my core2 duo laptop) to handle a decent amount of objects. The fact that silverlight is going to be a big part of winmobile 7 is also a good point (though we'll have to see how that turns out).

有一些Silverlight的游戏在那里,所以你可以看到的可能性。

There are a number of silverlight games out there so you can see the possibilities.

http://www.silverlightclub.com/ http://silverlightgames.org/ http://www.silverarcade.com/ http://www.silverlightclub.com/ http://silverlightgames.org/ http://www.silverarcade.com/

我想主要的负面是便携性,使人们安装另一个插件。闪存显然有最广泛的用户群,但如果你的游戏是足够体面,人们可能不会介意安装该插件。这是一个痛苦的安装。

I suppose the main negative is portability and making people install "yet another plugin". Flash obviously has the broadest user base, but if your game is decent enough, people probably won't mind installing the plug-in. It's a painless install.

在物理引擎方面, FarseerPhysics 的TomTom公司提到的是最流行的。

In terms of physics engines, FarseerPhysics that TomTom mentioned is most popular.

还有一个我认为是很酷的和令人信服的另一件事: HTTP://www.codeplex.com / silversprite 。从网站:

There is one other thing that I thought was really cool and compelling: http://www.codeplex.com/silversprite. From the website:

运行XNA游戏的,而不在Silverlight 3 SpriteBatch的图形而已,没有3D code更改的。由于游戏编译成直的Silverlight code,它会在任何地方运行的Silverlight的可以。 [补充强调]

Run XNA games without code changes in Silverlight 3. SpriteBatch based graphics only, no 3D. Since the game compiles into straight Silverlight code, it will run anywhere that Silverlight can. [emphasis added]

在XNA功能于Silverlight的方法可能是真的好(尤其是对于更复杂的游戏,你可能会想尝试借鉴的),因为这也可能让你到Xbox以最小的移植工作。但是,我并没有在这方面的经验,所以我不能进一步置评。

The XNA-in-Silverlight approach is potentially really good (especially for more complex games that you might want to try profiting from) because that also opens you up to Xbox with minimal porting effort. However, I don't have any experience in that, so I can't comment further.

修改响应OP的编辑:

由于您的游戏声音甚至比我想象的更简单,如果你不介意的学习曲线或做一个纯HTML + CSS + Javascript的方法(这实际上可能不会那么大),我可能遇到的困难要去说,也许这是最好的途径毕竟。这是因为便携性。

Since your game sounds even more simple than I had imagined, if you don't mind the learning curve or potential difficulties with doing a pure HTML+CSS+Javascript approach (which may in fact not be so great), I'm going to say maybe that's the best route after all. That's because of portability.

这是说,我很懒,不关心,如果有几个人错过了我的比赛,所以我只是坚持的Silverlight。 = P

That said, I'm lazy and don't care if a few people miss out on my game, so I'd just stick to silverlight. =P