Results 1 to 5 of 5

Thread: Network componenets for my game!

  1. #1

    Network componenets for my game!


    Hallo!

    I’m a author of the computer game “Poppy and Rose” which I programmed it in Delphi 6. I think that the game will attract more attention if it is played in a network between two players. But because I’m not professional programmer, and because of my age (I’m 51 year old) I just cannot make that. This is why I need help, and when I mean help I mean a source code of some kind (in Delphi 6) with these segments:

    - A segment in which a connection is made between two players that should be in a peer to peer base, but one of them would act like a server and the other will be a client that will connect to the server;

    - A segment that will initiate that the two players have the same time;

    - A segment in which the two players transfer data between them;

    - A segment where is formed a joined table of results.

    Can I find a source code with this attributes, maybe from some other simple video game?


    Thank you

    Blagoj

    My e-mail: jblagoj@yahoo.com
    My firs video game!

  2. #2
    PGD Community Manager AthenaOfDelphi's Avatar
    Join Date
    Dec 2004
    Location
    South Wales, UK
    Posts
    1,245
    Blog Entries
    2

    Re: Network componenets for my game!

    Hi Blagoj,

    Depending on which version of Delphi you have, it may or may not have some examples.

    Delphi 5 (and I think Delphi 6) includes a very simple chat demo that uses the standard socket components. In my case (Delphi 5), it is located in the directory <DELPHIBASEDIRECTORY>\Demos\Internet\Chat

    Hope this helps as a start.
    :: AthenaOfDelphi :: My Blog :: My Software ::

  3. #3

    Re: Network componenets for my game!

    Alternatively, some while ago there was a post/thread about ENet. I believe theres a link in there with code samples as well. Look for Andreaz' post on page 2.


    ps. I removed your duplicate post in the other thread.

  4. #4

    Re: Network componenets for my game!

    if you need something simple try
    http://synapse.ararat.cz/

    if you need something more advanced i recommend ENet
    From brazil (:

    Pascal pownz!

  5. #5

    Re: Network componenets for my game!

    Synapse rocks. This from a retired Indy Core Member. BTW: If you have D6 look in the additions folder and you will find a copy of Indy, lots of demos on it (including a chat demo).

Bookmarks

Posting Permissions

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