View Full Version : how to make online multiplayer game??
yagnesh
July 11th, 2009, 03:23 AM
hello evrybody!!
i m making an online multiplayer game POKER- five cards draw.
i m done with gui part, i dont have any basic knowledge of making games online n tht too multiplayer. can nebdy guide me or giv ne refrnc regarding ths??...thnx in advance
Gnoll
July 11th, 2009, 08:53 AM
You will need to know another language to accomplish something like this, in an efficient and/or secure way (and an understanding of sockets). I would look into Java for a language similar in syntax to Actionscript, which is powerful and can use sockets (the xSocket library is quite good). Other choices for a socket server include C/C++ and varietys, or web based languages like php.
Good luck,
Gnoll
bluemagica
July 11th, 2009, 10:29 PM
yeh do what the guy above me said...lol!
But just in case, is it realtime or turn based? If it is turn based, you might use polling server, or if realtime, look into unityplatform! Oh and keep in mind, multiplayer games are not a night's job, you really need to dedicate some time learning the backend solutions before you can make even basic multiplayer games!
yagnesh
July 12th, 2009, 09:42 AM
yeah thnx guys...
btw m making turn based game...
onw more questn i wnt to ask u...
wht thngs i vl hav to learn to make a my poker turn based game online multiplayer??>...
bluemagica
July 12th, 2009, 10:06 AM
If its turn based, then actually you might not even need sockets! You just need to learn php and mysql! On the php side you need to create "ticks", basically set a value depending on server time, and alter it every few secs( turn duration)! On flash, at game start, use a timer to get this tick, and tereafter at every tick, send a request from flash to the php, and thus to mysql, if you need to store some data!
stupidsaint
July 12th, 2009, 10:12 AM
Easy; Send information to a server every 500 ms, and then ask for it back every 1000 ms. Get more than one person to do it at the same time and you will be able to move about.
If it is more complex you will need to use extra languages like java, C++ and the like to have a fast more powerful gameplay.
simples
Saint
yagnesh
July 12th, 2009, 10:23 AM
yeah...thnx guys for ur kind hlp...
newys.. m gng to store the user login name and the amount he won in the game in the database.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.