User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: online

  1. #1
    No Products Registered

    Join Date
    Dec 2006
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    online

    Im making a game that is like Super Smash Bros. Melee (in the way the battles work), and I was wondering how I could make my game so that my friend and I can play each other (either on the same network or over the internet). Is there any way for me to do this.

  2. #2
    No Products Registered

    Join Date
    Oct 2006
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: online

    use mooclick.. my favorite...
    just set ur local\remote ips...
    connect to it on the same port u hosted... and there ya go (dont even have to sign on a channel if its just 2 players its server to client communication...)

  3. #3
    No Products Registered

    Join Date
    Dec 2006
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: online

    And what if it is a LAN connection? ALso how can i disable buttons just for player 1 not player 2? and what do you mean ips (I have never used mooclick).

  4. #4
    Clicker Multimedia Fusion 2
    Greg's Avatar
    Join Date
    Dec 2006
    Location
    Poland
    Posts
    315
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: online

    Argh... you can't use MooClick, cause you need to send data through UDP port, since it's an action game, and MooClick doesn't support it (there's a bug which disallows you to do it).
    You need to use MooGame, since it can send data using UDP ports. There are some examples on this community, showing how to use it.

  5. #5
    No Products Registered

    Join Date
    Jun 2007
    Location
    Croatia
    Posts
    116
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: online

    shouldn't LANs be able to create a TCP connection? I had network class this year and we did it all the time. Why do you think he can't do it?

    when he said "ips" he mean IPs (IP addresses)... That is a fixed (or dynamic) address that identifies your computer on network or internet...

    I used a mooclick over LAN and it worked as it should... although I don't remember if we used a fixed-IP server or direct comm...

  6. #6
    Clicker Multimedia Fusion 2
    Greg's Avatar
    Join Date
    Dec 2006
    Location
    Poland
    Posts
    315
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: online

    I didn't mean it won't work in LAN. Sending data through UDP doesn't work outside the LAN neither. MOOClick just has a bug that disables it and since it's an action game, he has to use UDP to send data faster, to prevent delays.

  7. #7
    No Products Registered

    Join Date
    Jun 2007
    Location
    Croatia
    Posts
    116
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: online

    In a way, but not neccessarily... he just needs a good optimization technique for cutting the bandwith down... I don't know how he is doing his game so I can't tell any way that would work, but if they are playing on LAN, they shouldn't have much of a problem since sending data over LAN would (and should) be fast (and stable) enough to outweight the TCP overhead...

    sending everything on every loop won't work either...

  8. #8
    Clicker Multimedia Fusion 2
    Greg's Avatar
    Join Date
    Dec 2006
    Location
    Poland
    Posts
    315
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: online

    Well, if it's going to be used on the LAN only, then he can use the TCP :P
    MOOGame is technically the same thing what MOOClick, so why not use it instead and make it work also outside the LAN? :P

  9. #9
    No Products Registered

    Join Date
    Dec 2006
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: online

    How do I use Moogame (is there like a tutorial or somthing on it)? Also I want the player to have a choice between LAN and online playing (so does moogame do that or do I need both?).

  10. #10
    No Products Registered

    Join Date
    Jun 2007
    Location
    Croatia
    Posts
    116
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: online

    You should also note that UDP is not secure protocol so there is no guarantee that the packet was received. Unless you implement your own way of communication over UDP, it is likely that some packets will drop out (much less over LAN then over internet)... You should keep that in mind when deciding what data you send over UDP and what over TCP.

    Crucial data should ALWAYS be sent over TCP.

    If for example, you send the players location over UDP and some packets miss or get delayed, you will see that as a lag. In this case, it may not be much of a problem. However, if you are sending chat message or say a player gives amount of gold (this is only for example) to another player, then it is important that the transaction actually takes place - UDP is very risky in the case.

    I also believe that decent communication could be achieved using .NET extension if you are familiar with VB or C#.

    I never used MooGame so I can't answer your last question. Sorry..

Page 1 of 2 1 2 LastLast

Similar Threads

  1. online ini
    By iOSC in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 8th March 2012, 05:05 PM
  2. a online
    By Conman in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 17th May 2009, 08:49 PM
  3. Online
    By Guitaristinmakin in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 12th March 2008, 10:36 PM
  4. Online
    By Guitaristinmakin in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 15th May 2007, 12:21 AM

Posting Permissions

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