Wanting To Do A Multiplayer Game
COuld someone suggest me a tutorial to do a multiplayer game?
I dont know what do I need to do a multiplayer game.
I have tried to stablish XML conections, use the send/load vars methods, and so much more, but I Haven't been able to do a "online" application, to make posible that many users can interact on a same flash movie.
I hope that someone can help me.
FlashKit > Flash Help > Flash MX
Posted on: 03-21-2005, 09:39 PM
View Complete Forum Thread with Replies
Sponsored Links:
Multiplayer Game
hi, i develop in flash 8 (AS2) a car game where i run a race with 1 car.
i want to transform this game into multiplaeyr with media server, can someone give me an idea on what do i need to do ??
thanks.
any help will be glad
View Replies !
View Related
Multiplayer Game
hi, i develop in flash 8 (AS2) a car game where i run a race with 1 car.
i want to transform this game into multiplaeyr with media server, can someone give me an idea on what do i need to do ??
thanks.
any help will be glad
View Replies !
View Related
Multiplayer Game
Hi everyone. Well, I posted this under Flash ActionScript as well, but i thought it might do better here so.....
Originally Posted by zombiefl1
Hi, I am in the progress of making a game....its based off the Tv Show, Charmed. I want to try to make it an online multiplayer game so three people can play online together as a team. Is there any possible way I can do this? If there is....can someone PLZ write a tutorial or something on it???
I'm using Flash MX, not 2 B confused with MX 2004
THX SO MUCH,
~~zombiefl1
View Replies !
View Related
Multiplayer Game
Can anybody tell me where I can find a good tutorial that will help me to create an online multiplayer Flash Game? Or software to develop this kind of applications?
The purpose is to create some kind of racing game online and to keep scores in a database.
Greeting,
deathy
View Replies !
View Related
Multiplayer Game In As3
Hi all, i've written a 2 player game in AS3 and it can be seen at http://msav.memo.tv. At the moment you can play against an opponent using the same keyboard, or AI - obviously I would like to add versus over the internet.
I know enough PHP/MySQL to allow users to register their game onto my server with game name, IP address, password (if desired) etc. temporarily in a database, and let other users browse the currently active games.
What I don't know is how do I then communicate between the two users in flash? In a slower paced game I could just send all relevant data to my PHP server and that would constantly send data back and forth between the two games to keep them in sync (or if there were 100 games going on it would have to manage all of that!). But in such a fast paced game as msav I don't think that would work (or would it?).
Is there any way of getting the two flash instances to connect directly? i.e. my PHP/MySQL back end would keep track of what games are registered, and would establish the handshake between the two flash instances, but then they would communicate directly? I couldnt find any info or documentation on this kinda stuff. Could the socket class be used for this? I've read the help files on that and understand what it was designed for... but can it be used for what I would like?
any suggestions welcome,
cheers,
View Replies !
View Related
Multiplayer Game
Hi everyone. Well, I posted this under Flash ActionScript as well, but i thought it might do better here so.....
Originally Posted by zombiefl1
Hi, I am in the progress of making a game....its based off the Tv Show, Charmed. I want to try to make it an online multiplayer game so three people can play online together as a team. Is there any possible way I can do this? If there is....can someone PLZ write a tutorial or something on it???
I'm using Flash MX, not 2 B confused with MX 2004
THX SO MUCH,
~~zombiefl1
View Replies !
View Related
Multiplayer Game
Can anybody tell me where I can find a good tutorial that will help me to create an online multiplayer Flash Game? Or software to develop this kind of applications?
The purpose is to create some kind of racing game online and to keep scores in a database.
Greeting,
deathy
View Replies !
View Related
Multiplayer Game
hello
im a begginer in flash ... i only know the basics of using flash ...
im intereste in making a multiplayer online game in flash ...
if anyone can help me with some points i should follow to make the game ...
i dunno how to work with actionscript only the strictly necesary ... can u give me a good documentation about that ...
tnx all
View Replies !
View Related
Flash Multiplayer Game...
I've been researching and planning a project and wanted to ask a few questions first. Hopefully I can get some assistance, I know I'm at one of the best resources out there.
I am planning on making an online fishing game, multiplayer, using mainly flash for the graphics / programming. I know I am going to need Communication Server also. I am also going to be using Flash and Microsoft Access to create a forum section. I can create the realtime chat room using Flash and Communication Server, I believe...
What Im hoping to have is tournaments where members logged in, can play the flash fishing game, ( it is going to be very realistic when it comes to fish species, colors, baits, lures, time of year, time of day, water temperature, fish location, etc... ) and the player that catches the most weight in their livestock, will be the leader of the tournament, I need flash to keep track of the players scores at weigh-in time, and post the results on the website, should that be done using actionscript or something else?
I would greatly appreciate any help I can get on this matter.
Thanks a lot everyone...
View Replies !
View Related
Multiplayer Simul Game Help
I've finished a java server backend for XML, everything is working, data is being recieved and stored in an array.
Heres the function that works:
Code:
function handleIncoming (messageObj) {
trace("--------new data received-----------");
trace(">>" + messageObj.toString() + "<<");
trace("-------- end of new data -----------");
log += "::::Message recieved::::";
var user = messageObj.firstChild.firstChild.nodeValue;
var message = messageObj.childNodes[1].firstChild.nodeValue;
var msg_array:Array = message.split(",");
if (user != username) {
var x = msg_array[1];
var y = msg_array[2];
var dir = msg_array[3];
}
}
All variables work, and are filled. My question now is how do I create a movieclip, a black square, when another player joins, and update his x, y, and dir when he moves on other clients? How do I handle this x y dir data thats successfully being recieved? thanks!
View Replies !
View Related
Flash Multiplayer Game
How exactly would I go about this?
I'm considering making a multiplayer monopoly game, I've never made anything multiplayer before so I thought I would start with something like this. (This does seem relatively simple, to me at least.)
I don't really need accounts or anything complicated, I would just like to know how I can get multiple users to view the same game screen at the same time. Online. I'll worry with more complicated stuff later.
There seems to be a complete lack of online multiplayer tutorials. Is this because they're too difficult to make?
Thanks. : )
I'm using Actionscript 2, however I can upgrade if it's necessary. I've been meaning to for a very long time...and have necessary fundage too.
View Replies !
View Related
Flash Multiplayer Game
Hi all,
Hope everyone is well. I was wondering how I could create a multiplayer game. Basically all users should be able to login and be present together and interact with each other as well as their environment. So its an online game.
Any help is much appreciated.
Thank you!!
Q
View Replies !
View Related
Multiplayer Game Links ?
Though I haven't even made any good one player games, I am working on a simple multiplayer game and I am looking for some info. I have searched a bit, but I'm not finding what I want. What I am talking about is two people playing against (or with) each other at the same time. Obviously it would be on the web or across a network, but so far I haven't found too many decent tutorials.
Is this possible and if so does anyone have some good leads?
Thanks
View Replies !
View Related
Multiplayer Flash Game..
i'm having some trouble.. i'm working on a multiplayer flash game using the xml socket.. well the problem is it does nothing when it recieves data.. the server is hand written in vc++ and works fine, i tested it with a dummy client written in c++.. strangley it behaves as expected with onClose and onConnect..
help
Code:
_global.recieved=new XML;
_global.mySock = new XMLSocket();
_global.myConnect = function() {
return mySock.connect(ip, 8888);
};
mySock.onConnect = function(success) {
if (success) {
_root.myControlClip.gotoAndStop(2);
_root.myControlClip.myMsg = 'Ai fost conectat.. ';
}
};
mySock.onClose = function() {
myControlClip.gotoAndStop(4);
_root.myControlClip.myMsg = 'Ups..';
};/*
mySock.onData = function(){
_root.myControlClip.myMsg = '*****';
};*/
function myOnXML(recieved) {
trace("**");
_root.myControlClip.myMsg = "**";
//_root.myControlClip.myMsg = XML.toString(recieved);
_root.myControlClip.gotoAndStop(3);
}
mySock.onXML = myOnXML;
View Replies !
View Related
Multiplayer Flash Game
hi every body
i am new to this forum
i am to happy to find such a huge adope help center
plz could u tell me what is the best way to create multiplayer flash game
can i use xml or breeze commonent or falsh media server
thx alot
View Replies !
View Related
Multiplayer Flash Game?
Allright, as the subject says. I want to make some klind of multiplayer game, two computers connect through the Inet and play with or against each other.
Does anybody know where I can find documentation or other significant info about this subject? books?
thanx for replies!
//Bobo
View Replies !
View Related
Multiplayer Game, Need Advice...
Hello
I'm going to make an online multiplayer game, with the classic theme of spaceships flying around and shooting eachother. I need some advice before I start to make plans for the core of this system.
The GUI is Flash 8, have thought of a "game engine"/server made in .NET framework, and a SQL Server as database.
I'm not sure where to put all the game calculations, as enemies, hit tests and such. Should the players just send in information of what button they press to the server, and let the server calculate their spaceships position, or should this be calculated at the players computer? What should be sent to/from the server, the buttons that have been pressed or the spaceships and other things x/y-position and rotation?
If someone have any recomendations, I would appreciate some help before I start my project!
Regards
Henrik, sweden
View Replies !
View Related
Multiplayer Game Solutions
I was wondering if there was any free/cheap backend solutions for multi player flash games.
I think I could run turn-based games with amfphp and MySQL memory tables. Although... Rather inefficient with the constant calls to check for new data with the way I was thinking. :/
Is Red5 is just designed for Streaming music and video? Does Flash Player 9/AS3 have the capabilities, and is there a server program good enough to get down to around 100ms response times for games??
Getting 1kb of data from MySQL:
AmfPHP:
Total time: 181 ms
Encode time: 1 ms
Send/receive time: 180 ms
Decode time: 0 ms
Network time: 159 ms
Total amfphp time: 21 ms
Framework time: 15 ms
Amf decode time: 0 ms
Service include time: 0 ms
Service call time: 5 ms
Amf encode time: 1 ms
View Replies !
View Related
Multiplayer Online Game
Hi Im tryng to create a multiplayer online game. I have a good understanding of java nio sockets but my flash xml sockets do not receive messages. My java server on the other hand accepts mesages from flash. Im using the simple .onData() method of XML sockets.
Does anyone know what may be the reason for that?
thanks
View Replies !
View Related
Multiplayer Flash Game?
Allright, as the subject says. I want to make some klind of multiplayer game, two computers connect through the Inet and play with or against each other.
Does anybody know where I can find documentation or other significant info about this subject? books?
thanx for replies!
//Bobo
View Replies !
View Related
[mx] Multiplayer Game In Flash....
hi All! and sorry for my bad english :P
I would want to develop a game multiplayer. For the development of the same game not there are problems but what I must know for being able to render it multiplayer? I can make it entire in flash or I have need to use also php or asp?
Thanks in advance to all!
View Replies !
View Related
XML Dynamic Variables For A Multiplayer Game
(moved from XML page- boy is it dead there!)
Hello. I am currently making a flash game. Actionscipt is a breeze for me, and now i am considering making a multiplayer game. I know it is possible with xml, because i know it can send variables to and fro. The problem is, I dont know where to start. I saw some tutes on macromedia but they confused me somewhat. If someone could help me start a basic script, I can build on it.
Problem: Sending the variable "status" over a page. This variabvle changes back and fourth depending on the opposite 'player'.
Hypothesis: I know that a simple script can send the variable "status" to a http(s)? for the other 'pleyer'
Experiment: a little script help?
(By the way, this is for flash 5)
Thanks in advance
View Replies !
View Related
Making A Multiplayer Flash Game
Hello, I'm new here...
Is there any way (or tools) that allow me to develop a multiplayer flash game?
I already try to trick it with amfphp, so I can store game info on the database. But it seems the game run slow then I thought.
Please help me ...
View Replies !
View Related
Multiplayer Game In AS3 (socket Class?)
Hi all, i've written a 2 player game in AS3 and it can be seen at http://msav.memo.tv. At the moment you can play against an opponent using the same keyboard, or AI - obviously I would like to add versus over the internet.
I know enough PHP/MySQL to allow users to register their game onto my server with game name, IP address, password (if desired) etc. temporarily in a database, and let other users browse the currently active games.
What I don't know is how do I then communicate between the two users in flash? In a slower paced game I could just send all relevant data to my PHP server and that would constantly send data back and forth between the two games to keep them in sync (or if there were 100 games going on it would have to manage all of that!). But in such a fast paced game as msav I don't think that would work (or would it?).
Is there any way of getting the two flash instances to connect directly? i.e. my PHP/MySQL back end would keep track of what games are registered, and would establish the handshake between the two flash instances, but then they would communicate directly? I couldnt find any info or documentation on this kinda stuff. Could the socket class be used for this? I've read the help files on that and understand what it was designed for... but can it be used for what I would like?
any suggestions welcome,
cheers,
View Replies !
View Related
FMS3 As Multiplayer Game Server
Hi Guys,
I'm busy looking for stats on how many connections / users FMS Interactive server can take. We are planning a multiplayer chat / gaming environment based on flash technology.
All stats that i've found so far talk about streaming video limits, not gaming terms. Is there a rough ballpark on how many concurrent users I can expect from a server? 500 / 1000 / 3000 ??? (servers are dedicated by the way, all database / files etc will be elsewhere).
We are also looking at going down the origin + 2 edge servers as an initial setup. What result would this have on number of connections? i.e would each server add less connections in edge mode than it would if it were a standalone server?
I realise that a lot of this is down to how our app is built but some theoretical knowledge would be very handy... we are aiming for a 10k concurrent user setup.
Many thanks for any information
p.s. we have specs for a quad core, 2Gb RAM, running RedHat ES4 - i know this will make a big difference too
View Replies !
View Related
Online Multiplayer Flash Game [?]
Hey do any of you know how I can create a simple multiplayer game in flash? I want it to be accessible to people from the net so they can play with each other. do any of you know useful tutorials or programs I need? I already have Flash MX. thx in advance.
PS I'm aiming at something like SnowCraft ( http://www.nny.com/holiday/snowcraft.htm ) but online.
View Replies !
View Related
Multiplayer Game - Socket Servers
Hi, for a while now i've been looking to create a multiplayer game in flash. I've read most things out there and i seems i need to use sockets, and a server. I've found lots of them(socket servers), and download but have no idea how im meant to use them.
I cant seem to find much about them on the internet. If anyone could help me wiht this subject in any way i would be most gratefull
Xeonzinc
View Replies !
View Related
Online Multiplayer Flash Game [?]
Hey do any of you know how I can create a simple multiplayer game in flash? I want it to be accessible to people from the net so they can play with each other. do any of you know useful tutorials or programs I need? I already have Flash MX. thx in advance.
PS I'm aiming at something like SnowCraft ( http://www.nny.com/holiday/snowcraft.htm ) but online.
View Replies !
View Related
Need Advice From A Flash Expert On Multiplayer Game
I have a client that wants a free online poker game using flash on his website. I have created different flash chat rooms before without the server software by using the loadvariables command to post information and retrieve information from an sql database. There was little if any lag with those chat rooms.
I know you could never use that type of setup for any kind of action game, but with a turn based game such as chess, poker, battleship, it works well because the half second delay doesnt make a difference.
My question and concern is, this guy has over 10,000 visitors a day, and im curious what kind of load that would put on a system like this. This might be more of a server question, but my chat rooms were fine with 100 or so people. Just didnt know if 10000 would make it worse?
Rob
View Replies !
View Related
Any Complete Template Flash Multiplayer Game On The Web ?
Hi,
I have a litlle question adressed to ANYONE !
Please can you tell me a link to a flash archive containing 1 (
just ONE pleeease! ) complete template in flash (.fla) for online multiplayer gaming ? Is there any ?... cause i searched disperatelly to find but i was unsuccesfull, please help me with this,
Thanks for reading my message
View Replies !
View Related
Regarding Web Service N Multiplayer Online Board Game
I am using a custom web service package : wellconsidered. i am creating a chinese checkers online using FLash cs3. i used sql server as database.
This is how it works:
import be.wellconsidered.services.WebService;
import be.wellconsidered.services.Operation;
import be.wellconsidered.services.events.OperationEvent;
var ws = new WebService("
View Replies !
View Related
Post Your Multiplayer Game Idea - ElectroServer
-- Please forgive me if this is the wrong forum. It seemed like the right choice...
Hi guys,
We at Electrotank would like to hear your multiplayer game ideas. If you have a good solid multiplayer game idea that you'd love to build out, then post it here!
We would like to offer a free version of ElectroServer 3 and a year worth of hosting to someone who we think would benefit greatly from it. If you feel that what is holding you back from developing a great multiplayer game is the price tag that usually comes along with it, then this could be a great opportunity for you!
Basic "rules"Electrotank is not looking to build any of these games. We have our own great ideas.
Please post if you are serious.
Electrotank can help provide you with guidance, especially with regard to the multiplayer hurdles. Other aspects of the game are up to you and your team if you have one.
If you'd prefer to email me directly rather than to post here, then do so: mike@electrotank.com
Electrotank will choose a person or team if we feel that it is a good choice. This isn't a contest, so we can't just guarantee that we'll select someone.
I'll post here when we have finished our search.
Why are we doing this? Well, ElectroServer 3 is a very successful product. Its being used by great companies like Nickelodeon, Rubiks, MiniClip, etc. What we are missing though are indie developers creating really cool creative "youthful" games, like rpgs, racing games, shot-em-ups, etc. We'd like to see a lot more of that.
We aren't asking for the source code. The only "catch" is that you can only keep the license if you finish the game.
Hopefully we'll get at least a few interested replies!
Michael Grundvig
Electrotank, Inc.
mike@electrotank.com
http://www.electrotank.com
http://www.electro-server.com
View Replies !
View Related
Multiplayer Game / Socket Server Template - How To Structure?
I am working on what I hope becomes an excellent starting point for Flash developers who want to make a multiplayer game. The basic idea is that I want to create a project like AMFPHP which is easy to set up which provides the basic building blocks for socket communications between online users connection from different machines. Minimally, it would consist of a socket server written in PHP (intended to run as a daemon) and Some Flash and Actionscript components to connect to the script using XMLSockets or perhaps even binary sockets.
What is the best format for the Flash part of this project? Should I create a flash file or should I create some Actionscript includes that dynamically create login elements, windows, etc. Most multiplayer games start with a game selection interface which is much like AIM or ICQ or some other chat program. For instance, my sample client currently requires 3 frames: login/nickname selection, game view and selection, and then the game itself. As it stands, my flash project contains quite a bit of Actionscript...should I move this to an Actionscript file? Is it possible to create a component that can simply be dragged into the library of an empty flash project?
I'm sure there are other questions I'll have but this is at least something to start with.
View Replies !
View Related
Creating Flash Board Game (Multiplayer Online)
Hi,
Right now i am doing on a project on Chinese Checkers which have 2 players, 3 players, 4 players, 6 players. I used SQL Server as database. game programmed in AS3, and i used web services to connect them. I used Timers to get data Consistently as Web services does not support data push like flash remoting. Due to budget issue, i have to use web service in my project for educational learning.
I have created game lobby in flash, where user can chat, see whose online, and create or join game. One main question: Can i do all of them in frames without using external actionscript files?like coding in first frame.
1st swf: Game Lobby --> press create button --> 2nd swf: Game Create Border -->3rd swf: Press 2 , 3 ,4 or 6 players button -> 4th swf: Game.
View Replies !
View Related
|