Facebook 游戏的最佳平台
我意识到这个问题似乎非常广泛和主观,但我主要是在寻找有关平台选择的建议,这样我以后就不会陷入困境(我更熟悉客户端编程,所以请原谅缺乏适当的服务器术语)。
首先:我正在制作一款游戏。它将是多人游戏,玩家之间有一些实时互动。显然,我不是在谈论 FPS,甚至不是 RTS 的规模,而是类似于 Google Channel API 在消息传递方面所做的事情。
我正在寻找最佳的服务器/客户端配对。
现在,由于我的日常工作,我意识到 C# 已成为迄今为止我最好的语言。我对 WPF 也越来越熟悉,因此 Silverlight 似乎是这种理解的自然延伸。
从我的搜索来看,Silverlight 并不是一个流行的 Facebook 应用平台。这是有原因的吗?
什么是“标准”客户端-服务器配对?前端是 Flash,后端是什么?
有人有最喜欢的配对吗?易于原型/开发测试吗?
是否有一个好的客户端平台选择,它具有开源游戏引擎,并且还可以覆盖大多数浏览器(即 iPad 和台式机)?
编辑:我还偶然发现了 Windows Azure Social Toolkit。有人对使用它作为起点有意见吗? http://watgames.codeplex.com/
I realize the question seems very broad and subjective, but I'm mostly looking for suggestions on a platform choice so that I don't paint myself into a corner later on (I'm more familiar with client-side programming, so excuse the lack of proper server jargon).
First: I am building a game. It will be multiplayer, with some real time interaction between players. Obviously, I'm not talking FPS, or even at the scale of a RTS, but something similar to what the Google Channel API does in terms of messaging.
I'm looking for the best Server/Client pairing.
Now, I've come to the realization as a result of my day job, that C# has become by far my best language. I'm also getting very familiar with WPF, so Silverlight seems like a natural extension of that understanding.
From what I can find search-wise, Silverlight is not a popular Facebook app platform. Is there a reason for this?
What's the "standard" client-server pairing? Is it Flash for the front end, what's the back end?
Does anyone have a favorite pairing? Easy to prototype/dev test?
Is there a good clientside platform choice that has an open source game engine, and can also reach a majority of browsers (i.e. the iPad as well as desktops)?
Edit: I have also stumbled upon the Windows Azure Social Toolkit. Anybody have an opinion on using that as a starting place?
http://watgames.codeplex.com/
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
大多数社交游戏都使用 Flash 作为前端,因为它的市场饱和度目前大约为 98%。如果您使用其他任何东西,您将因两个原因失去潜在用户:1)某些用户无法安装您想要使用的平台(例如没有管理员访问权限的工作计算机),2)某些用户可以,但他们不想要安装您要使用的平台。
至于后端,没有“标准”,更多的是品味和偏好的问题。使用您最熟悉并喜欢编写代码的内容。
只需确保您选择的任何后端架构都允许您添加更多应用程序服务器和数据库服务器,而无需降低游戏性能。最简单的解决方案可能是分布式键值数据库(例如 Cassandra)。
Most social games use Flash for the front end because of its market saturation, roughly 98% right now. If you use anything else, you will lose potential users for two reasons: 1) some users cannot install the platform you want to use (e.g. a work computer with no administrator access) and 2) some users can, but they don't want to install the platform you want to use.
As for the back-end, there is no "standard" and is more a matter of taste and preference. Use what you're most comfortable with and prefer to code in.
Just make sure whatever back-end architecture you choose allows you to add more application servers and database servers without having to bring the game down. The easiest solution is probably distributed key-value databases (e.g. Cassandra) for this.