User Tag List

Results 1 to 5 of 5

Thread: MMF Online Platform Game

  1. #1
    No Products Registered

    Join Date
    Aug 2008
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    MMF Online Platform Game

    Hi,
    I know this has prob been asked alot. Ive used the search and still am not sure so....
    I am trying to turn my game into an online one. At the moment it a platformer. I am trying to get it to connect 2 people together and send / receive player pos etc. No interaction is needed. Jut the players position. If anyone could help me Im not sure what to do to achieve this. Ive done a simple chat program with Moo but still unsure how to progress. Thanks

  2. #2
    Clicker Multimedia Fusion 2iOS Export ModuleXNA Export Module
    Asholay's Avatar
    Join Date
    Nov 2008
    Location
    England
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF Online Platform Game

    If you've made a chat app, you're pretty much there to be honest.

    All you need to do, similar to chat, is to send your x & y position to the other player - but don't add that text to a list box - break it apart using the string parser (are you aware of how to do this?) into each element, then set the active object of the other player to those co-ordiantes.

    It's up to you how often, and when you send that data to the other player - and also where you might want to develop your own dead-reckoning system, which predicts movement, then updates only if that changes.

    I would switch to OINC first though (instead of Moo) - it's far easier, and supported with new versions coming out frequently.

  3. #3
    No Products Registered

    Join Date
    Aug 2008
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF Online Platform Game

    Ok thanks, I'll have a try. Not really done string parser yet. I think this is where I got stuck before. My game is basically a side platform racer. SO i guess updating info as often as possible without slowing it down. Are there any tutorials do you know that could help me?
    Thanks

  4. #4
    Clicker Multimedia Fusion 2iOS Export ModuleXNA Export Module
    Asholay's Avatar
    Join Date
    Nov 2008
    Location
    England
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF Online Platform Game

    Yep - look in the tuts on this site somewhere. They're for Moo, but the principle is the same as OINC.

    With the parser: Start of game - set delimiter to "|" (or anything you won't use)

    Then, when you want to send a message - send a string like (str(x co-ord of you)) "|" str (y co-ord of you))

    Then, upon message received, click an action on the parser, and put 'select source string' as the recieved message.

    On that same condition line, set the x position of the other player object to part 1 of the string (use the 'get element' action), and the y pos to part 2 of the string.

  5. #5
    No Products Registered

    Join Date
    Aug 2008
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF Online Platform Game

    I think i'm almost there. Nealy works. However I tested by running two apps on my PC and noticed it works fine on the host, but the person connected only sees themselves and not the other player =|

    http://theclickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=128621&#Post128 621

Similar Threads

  1. Platform game Help: Jump through platform slopes
    By Atherton in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 10th December 2009, 04:15 AM
  2. Online Platform Help
    By Mayfly in forum File Archive
    Replies: 1
    Last Post: 13th February 2009, 12:34 PM
  3. 2D online Platform Movement/Dead Reckoning
    By Joeyotrevor in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd November 2008, 12:15 AM
  4. need help -online platform multiplayer
    By lover in forum File Archive
    Replies: 2
    Last Post: 9th November 2008, 06:13 PM
  5. An online Game
    By ToffeeandPebbles in forum The Games Factory 2 - Technical Support
    Replies: 4
    Last Post: 16th November 2007, 11:27 PM

Posting Permissions

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