Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Multiplayer LAN game question

Author
Message
andreas 542
19
Years of Service
User Offline
Joined: 19th Nov 2005
Location:
Posted: 19th Nov 2005 19:24
Hi

Im currently making a 2D Top down paintballing game for a college coursework project, and I've managed to program some simple AI so that it can be played single player.

The main function I would like to implement is multiplayer, and I'd like to ask some questions about Multiplayer games.

Ive read a lot of info on multiplayer games, and from what I've gathered writing a game to be played on a LAN is very different to writing a program to play on a WAN, so I'll think I'll just stick to a LAN multiplayer game for now.

My main question is if I should use P2P or C/S, as this will be a simple (maybe max 10 player) game where players walk around a map and shoot paintballs at eachother.

Because I'm using sprites, sending player data will be simple and I've gathered that each computer handles/renders the data.

And question number 2 is Do i need to use IP addresses and protocol commands, or is it simply a matter of establishing a connection and then using Player Numbers

Thanks for the help

Total DB n00b
dab
20
Years of Service
User Offline
Joined: 22nd Sep 2004
Location: Your Temp Folder!
Posted: 20th Nov 2005 03:50 Edited at: 22nd Nov 2005 01:03
SimSmall
20
Years of Service
User Offline
Joined: 7th Aug 2004
Location: United Kingdom
Posted: 20th Nov 2005 20:41
less than 16 players, ideally go for peer-to-peer

after that just reference each player by their checklist value a... checklist order is just newest first, checklist a is their actualy player number.

But what college course would ever use Dark Basic?

...maybe one day I'll finish a project

Login to post a reply

Server time is: 2025-05-22 20:22:12
Your offset time is: 2025-05-22 20:22:12