Author Topic: [Blitzmax] I would like to get into multiplayer games.  (Read 4130 times)

0 Members and 1 Guest are viewing this topic.

Offline Pixel_Outlaw

  • Pentium
  • *****
  • Posts: 1382
  • Karma: 83
    • View Profile
I know this is a very vast subject but I would like to throw together some multiplayer games using Blitzmax's online functionality. I know next to nothing about writing online games but I'm certainly not going to make something complex. I plan to make a very simple game that would have 2-5 players running around a single screen 2d world.

Data to share between computers
Player data
map data
bullets held in a list

Are there any good tutorials that teach how to utalize the online functionality for beginners? I did post on the blitz forum but the post was deleted. If nobody can really help that is fine too.

Let me give you an idea of my knowledge

This is a router and some sockets to me.
« Last Edit: July 08, 2008 by Pixel_Outlaw »
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Ha ha!  You say router we say rooter (but spell it router).  Let's call the whole thing off!

Sorry, I don't know anything about bmax's network stuff.  If you can use basic BSD sockets (everyone does for everything on the internet ever) then that would be better.

Jim
Challenge Trophies Won:

Offline zawran

  • Sponsor
  • Pentium
  • *******
  • Posts: 909
  • Karma: 67
    • View Profile
I tried to get some information on how to get the basic networking going on with bmax a while ago, but all the answers I got on the official forum wasn't really that useful, and they all more or less required that I knew everything about how UDP/TCP, sockets and such worked, which I don't, otherwise I probably wouldn't have asked in the first place. It seems to be one of the more difficult areas to find answers.

I wanted to make a small networked game, kinda like an oldschool MUD but where a handful of people could log onto a server that I would have running, where they could go on adventure and where I could update the server with new dungeons, quests and such. Unfortunately I have had a period where I have not had any time to spend on programming, which is also why all my other projects are on hold. But I really would like to get started again sometime sooner than later, so I will be needing to try it again with finding information on networking. So if I manage to kick myself into gear, then I will share what I find.

There is a module which comes with bmax called gnet, and its a networking module where objects are used to pack data that is transfered between computers. But I never managed to get something working with it. I remember looking for a thirdparty module, but not finding something that seemed like it was easy to get into for someone without specific networking knowledge.
« Last Edit: July 08, 2008 by zawran »

Offline Naptha

  • C= 64
  • **
  • Posts: 53
  • Karma: 3
    • View Profile
I think this tutorial might help, it covers UDP which is probably the way you want to go.

But then I've never tried Blitzmax...  :-[