且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

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

更新时间:2023-02-02 19:34:45

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

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

  1. 我已经熟悉C#/。NET。
  2. 它有很多的功能,即使它不是多达全面的WPF。我听说LINQ单是真棒游戏。本地存储也可以加分。有丰富的选择控件,你可以使用你的游戏的图形用户界面的部分。老实说,WPF失去在有趣的控制条款的Silverlight。
  3. 这是完全免费的。您需要下载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/

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

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