建立一个游戏网站 [英] Building a gaming website

查看:70
本文介绍了建立一个游戏网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我之前曾问过类似的问题,但我认为我措辞不当。所以这里... ...



我正在尝试使用C#构建和在线3D Domino多人游戏网站。问题是我不知道从哪里开始,更不用说如何完成如此大的事情。



如果你想提供一些建议,请告诉我应该在网上寻找什么类型的信息,而不是告诉我只是google it。



我是C#的初学者,但我有对它的热情,所以太多的建议都适合我。



请帮助,任何建议都非常感谢。谢谢

I''ve asked a question similar to this before, but I think I worded it improperly. So here goes...

I am trying to build and online 3d Dominoes multiplayer gaming site using C#. The problem is i don''t know where to start much less how to finish something of this magnitude.

If you''re going to offer some advice, please tell what type of information I am supposed to look for on the web instead of telling me to "just google it".

I am a beginner at C# but I have a passion for it, so too much advice will suit me just fine.

Please help, and any advice is much appreciated. Thank you

推荐答案

任何软件项目都应该以良好的设计开始。开始研究并决定如何构建游戏。例如,之前的解决方案提到了flash和Silverlight。您需要了解这些对于他们将能够玩游戏的平台,他们将能够使用的设备以及他们的整体用户体验将如何影响您的玩家。 />


你需要决定你的游戏是桌面游戏,移动游戏还是两者兼而有之?这对您构建游戏所需的平台产生巨大影响。您的网站的目的是什么?玩家是否在浏览器中玩游戏,或者是用于帮助玩家找到设备下载的网站,同时还会显示分数或帮助人们找到要玩的游戏?



您将如何完成客户端之间的游戏状态同步?例如,如果有4个人正在玩墨西哥火车游戏,你如何在这4个玩家之间传递游戏状态?它会直接连接吗?无线上网? Web服务到后端服务器?同样,这里的决定对你如何构建你的解决方案产生了巨大的影响。



你的热情很高......不要失去那个......它并用它来推动这个项目,因为它是非常可行的。我建议你先阅读一些关于多人游戏开发的文章。与你想要完成的相比,你需要了解适当的架构及其优缺点。



如果我接近这个,我几乎会立即决定是否我想支持本地游戏(同一IP子网上的所有玩家 - 没有中央服务器)或者我想支持全局匹配。对于全局匹配,您需要编写后端服务以维护玩家,分数,排行榜等以及游戏匹配和游戏状态。全球游戏提供更丰富的游戏体验,但缺点是您的客户需要一个永远在线的连接,您需要维护这些后端服务器。



最后,是意识到迭代开发过程是一个非常好的主意。也许你开始在同一台设备上将游戏作为多人游戏(因此将设备传递给每个玩家),然后在两个设备或后端服务器之间同步游戏状态,这样玩家就可以在不同的设备上玩游戏。当它工作时,去4个玩家等等......你明白了。一旦你设计了整体架构,就可以在这个阶段构建应用程序,保持最终的结构。



祝你好运!当你启动游戏时,PM我在这里......我很乐意看看。
Any software project should start with a good design. Start looking into and making decisions about how you are going to structure your game. For example, the previous solution mentions flash and Silverlight. You need to understand how both of those will impact your players with respect to the platform(s) they will be able to play the game on, the devices they will be able to use, and what their overall user experience will be.

You need to decide if you want your game to be desktop, mobile, or both? That has a huge impact on the platform you will need to build your game on. What is the purpose of your web site? Do players play your game in-browser or is the web site used to help players find the download for their device while also displaying scores or helping people find games to play?

How are you going to accomplish the game state sync between clients? For example, if 4 people are playing a game of Mexican Train, how do you pass game state between those 4 players? Will it be direct connect? Wi-Fi? Web Service to a back-end server? Again, the decision here has a huge impact on how you will architect your solution.

Your enthusiasm is great... don''t lose that... take it and use it to drive this project because it is very doable. I suggest you start by reading some articles on multi-player game development. You need to understand the appropriate architectures and their advantages/disadvantages compared to what you are trying to accomplish.

If it were me approaching this, I would decide almost immediately if I wanted to support "local" games (all players on the same IP subnet - no central server) or if I wanted to support global matching. For global matching you would need to write the back-end services to maintain players, scores, leaderboards, etc as well as game matching and game state. Global games provide a much richer game experience but the drawback is your clients would need an always-on connection and you would need to maintain those backend servers.

Finally, be aware that an iterative development process is a really good idea. Maybe you start writing the game as multi-player on the same device (so the device is passed to each player), then work on sync''ing game state between two devices or with a backend server so players can play on different devices. When that is working, go to 4 players, etc... you get the idea. Once you have the overall architecture designed, you can build the app in stages like this keeping the ultimate structure in mind.

Good luck! When you launch your game, PM me here... I''d love to have a look.


检查这些链接,这将有助于你开始使用



With Silverlight [ ^ ]



使用Flas [ ^ ]
Check these links whcih will help you get started

With Silverlight[^]

With Flas[^]


这篇关于建立一个游戏网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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