Straight Directions on how to make a multiplayer

tyler18000tyler18000 zei

een tijd geleden | Bericht #1
I need help on how to make a multiplayer game. I have the name and I downloaded everything I needed but i'm really stuck. please help me.

coldcitycoldcity zei

een tijd geleden | Bericht #2
Start simple! Realistically there ARE some pre-requisites. You should have an understanding of client-server architecture and already be capable of making a simple single-player game in Flash. Knowledge of C# helps lots getting the server side running well, but if you can already code AS don't let not knowing C# put you off; the examples go a long way towards showing you enough C# to get by.

Setting up the development environment so that you've got a nice easy edit->build->test cycle is often the hardest/most intimidating part of a new project.

If you have Visual C# and Flash installed correctly, first make sure you can build and run eg the TicTacToe serverside code in C# (serverside.sln); to just run one of the examples, open it's serverside.sln and press F5 in Visual C#. Then you have a running local development server. Remember, every time you test your game-in-progress, you must first start the server.

Then open Flash.flp and run the movie from inside Flash. That gets you one game client instance. Now when you run the movie from inside Flash, an updated SWF gets built and put in the Output folder. To start a second instance, you can drag your swf from the Output folder to a web browser which will start another instance of the client. Then you have a 2-player test game running.

When things are running properly, look at the message handling systems in both the flash client and C# server first to understand how messages get passed. Look at the difference in message handling between DrawMagnets and TicTacToe and you'll see how messages have been implemented to deal with each type of gameplay.

Once you've done that, you probably understand quite a bit more than you do now. So hopefully, you can then pick the example most like what you want to do, and get coding :)
Laatst gewijzigd een tijd geleden

tyler18000tyler18000 zei

een tijd geleden | Bericht #3
Thanks, but I already know how to get the other games running but what I'm trying to figure out is how to start the drawing and the text my flash game. I thought a multiplayer flash game was easier but I did not really try to create a single player version of it but I have so many ideas for it. This helped me a little.

RiiichRiiich zei

een tijd geleden | Bericht #4
Player movement, could you put an example of that?

if you have to send packets to the server or you just put player movement in and the server just copys everything?

Antwoord op onderwerp

Schrijf je nu in om te kunnen antwoorden op onderwerpen

Nonoba

nonoba.nl is een onafhankelijke spelletjes site waar je zowel individueel als gezamenlijk spelletjes gratis kunt spelen.

Developer gereedschap

Als je een flash spelontwerper bent hebben we gave gereedschappen die je kunnen helpen om nog betere spellen te ontwikkelen.

Geweldige Spellen

Waarom probeer je niet een van de beste online flah spellen die wij hebben voor nop?

Copyright ©2007-2012 Nonoba™ - All rights reserved.31.2ms on SERVER34096