multiplyer game ....
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9

Thread: multiplyer game ....

  1. #1
    Join Date
    Apr 2013
    Posts
    4

    multiplyer game ....

    hey,
    i made a game on c++ using allegro now i want to make it multiplayer game means connect pair to pair connection with another pc and enjoy the game......how i develop this connection please help me
    help me with code .......please help urgent

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,011

    Re: multiplyer game ....

    If it is for Windows then have a look at Interprocess Communications (IPC)
    Victor Nijegorodov

  3. #3
    Join Date
    Apr 2013
    Posts
    4

    Re: multiplyer game ....

    can you help me to implement this because i hve no about networking...

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,011

    Re: multiplyer game ....

    To implement what? Pipes? Sockets? ...?
    You have first to understand what type of IPC would be the most suitable for your games. The we could probably try to find some code examples for you and help you with the problems with possible code errors.
    And if you have no idea about networking then please, learn it, read about it, try some samples... or just give up!
    Victor Nijegorodov

  5. #5
    Join Date
    Apr 2013
    Posts
    4

    Re: multiplyer game ....

    i dnt want to give up thiz ,,i want to learn thiz please help to do this

  6. #6
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,011

    Re: multiplyer game ....

    Well, begin with the learning how to write properly so everyone here could read your posts. Please, use punctuation, small/capitl letter. Apply SpellCheker to your text before posting it.
    Then read about IPC in MSDN. The link I already provided.
    Victor Nijegorodov

  7. #7
    Join Date
    Dec 2012
    Location
    England
    Posts
    1,997

    Re: multiplyer game ....

    Are the two (or more?) pcs just connected to a local network in the same physical location or are they connected in different locations and will use the internet for connection?
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

  8. #8
    Join Date
    Apr 2013
    Posts
    4

    Re: multiplyer game ....

    sir , i want to connect this by different location through internet using ip(server client) just like counter strike game

  9. #9
    Join Date
    May 2013
    Posts
    1

    Re: multiplyer game ....

    If you are not familiar with the network programming, please, try out this library http://libunicomm.org. Maybe it would be helpful for you. This is the library we made and used in our projects. We decided to publish it as open source in hope it could be useful for anybody else.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center