Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Peer to Peer flash? Online Multiplayer in flash?

Status
Not open for further replies.

QueryMannen

Programmer
Feb 16, 2006
3
SE
Hi! Sorry if I post this in wrong forum.

I want to make a .swf flash-file where people on different computers can write a nickname for themselves, press ENTER, and then see each others.

--

Each player will control a simple square with their arrow keys. They can just move it around.

The document will be 550x400 in dimensions.

--

Each player will be able to see the squares of the other players. The other players squares will move around in real-time. Ergo the players are playing with each others (like a simple multiplayer game, over Internet).

--

The different players will not be able to play against each others on the same computer, I cannot stress that enough. The point of the flash file is Internet (online) Multiplayer.

If possible I would like this little game to be without the user having to install a browser plugin or something.

--

> So, my question is:

What technology/method should I use in order to do this simple yet real-time online multiplayer game in flash?

--

I need to learn this for a school project. If I can make a .swf file that does this simple little online multiplayer game I can use the same method in other flash applications (games), maybe add so that the squares can shoot on each others.

I know this (the thing I'm after) is possible because I've seen flash files where users on different computers can draw pictures and see the picture while it's being drawn. Also I have seen a RPG in flash where you can see the other people moving around in real-time. I sadly can't remember the links to these things, sorry.

--

I am using Macromedia Flash 8.

Any thoughts, links and help is deeply appreciated.

Thank you very much!
 
But doesn't that just make it possible for the server to send data to the players?

What I want is for the players to send their location to the server, which then sends all the other players the location of everybody.

Can the players send data to the server with XML socket connections?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top