Jump to content


Local Area Multiplayer

  • Please log in to reply
3 replies to this topic

#1 AlexTM


    GMC Member?

  • GMC:Member
  • 1437 posts
  • Version:Unknown

Posted 16 April 2012 - 03:55 AM

I was thinking. Is it possible to make a multiplayer game (LAN only) through .ini or .txt or whatever files?

Eg: Everytime something changes in the game, it saves an ini file every 0.3 seconds, the person on the other computer reads the file through the Network folder in there computer.

Another eg:
I am the character, but there is a clone of the other person playing on a different computer on the game on your computer, the movement of that character is the same as the movement on the other computer...

Get me? Is it possible through .ini files and not DLLs?

#2 kelson


    GMC Member

  • GMC Member
  • 328 posts

Posted 16 April 2012 - 04:05 AM

try looking at the mplay functions in the help file of gamemaker. unless you are using html5 or gm studio i dont think they have mplay.
  • 0
Posted Image

#3 Desert Dog

Desert Dog

    GMC Member

  • GMC Elder
  • 6409 posts
  • Version:Unknown

Posted 16 April 2012 - 04:08 AM

I believe it is possible, yes. I remember seeing a tutorial doing something like this in the tutorial forum. ('Unregistered multiplayer'). I think it was a chat client, or something.

It'd be pretty slow. Would work for chat, and turn-based games (chess, checkers, card games, etc) but you wouldn't be able to accurately, or very quickly make it work for an action game.

Edit: Can't find the link to that tutorial. Was years ago, probably looong gone. It's not really practical, (although kinda cool!)
  • 0
HTML5 games for mobile:
HexDogs Bugz Burn! Captain George Golfing Block Memory

Games for Androids
*NEW* Word Dog - Published by Dangerous_Dave

Code: General Array Functions - GM-S friendly. sorting, shuffling. Includes a quicksort.
Use the quicksort to sort ds_lists 10-18 times faster than ds_list_sort()!

#4 AlexTM


    GMC Member?

  • GMC:Member
  • 1437 posts
  • Version:Unknown

Posted 16 April 2012 - 05:26 AM

I was asking if its possible. Not for anything else :rolleyes:.

@Desert Dog
I knew it would of been possible without DLLs or anything like that.. I might try it one day, but like you said, i could just do a chat thing.