00:00
-:-

Scale and position your image


NOTE: please consider becoming a supporter if you would like to choose a shape.
jirachi99
Drop file(s), or click here to upload.

    Age 30, Male

    Programmer

    QLD, Australia

    Joined on 11/13/07

    Level:
    6
    Exp Points:
    300 / 400
    Exp Rank:
    > 100,000
    Vote Power:
    4.58 votes
    Rank:
    Civilian
    Global Rank:
    > 100,000
    Blams:
    1
    Saves:
    5
    B/P Bonus:
    0%
    Whistle:
    Normal
    Medals:
    307

    Trying to use the Newgrounds API to make an online multiplayer game!

    Posted by jirachi99 - January 27th, 2011


    As the Title of this post says I am trying to make a game that 2 or more players can play over the internet straight here from newgrounds, the only problem being that I cannot get the Newgrounds SaveGroup feature to work!

    If anyone knows how this is meant to work please tell me since I am having no luck!

    If I can get it to work I will post a basic game showcasing how it works, in theory it is possible, BUT only if I can get this to work...

    So if you do know how to get it to work here is what needs to be done on the two computers, CP1 being the sending and CP2 being the reciever

    CP1: Send data (i.e. player movement) to SAVE_GROUP (the server hosting this game) as variable playerXmovement (X being the players Name/number)
    CP2: Constantly checking playerXmovement and moving that player accordingly
    CP2: Checks SAVE_GROUP\playerXmovement to find out it differs from the current players position
    CP2: moves playerX to playerXmovement
    CP2: Sends its player's movement variable to SAVE_GROUP
    CP1: receives and repeats

    In theory it could easily work, but I need to get the save groups to work!!! Please PM me with a response!


    Comments

    Comments ain't a thing here.