Thread: Many players...

  1. #1
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342

    Many players...

    I want to make a game where a lot of people can play at once, but I would need like 5 joysticks or mice to fit everyone in. What should I do seeing how that doesn't work?

  2. #2
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Eat cheese!
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Can't you plug multiple USB mice into a machine then?

    I suppose you'd need a better driver capable of managing multiple mice at the same time, and delivering meaningful information.

    No doubt there is a lot of "there can be only one" code going on in windows, so your game would have to communicate with the driver directly and draw it's own multiple cursors.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    I know this is heavily dependant on the game in question, but couldn't you use the same keyboard like a few internet games do? Shove one player on the left and one on the right. Would be a bit of a squish though.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  5. #5
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    >> Would be a bit of a squish though.

    Yes, it is, I have one with 3 people on the keyboard.

    >> No doubt there is a lot of "there can be only one" code going on in windows, so your game would have to communicate with the driver directly and draw it's own multiple cursors.

    That's what I was afraid of. I assume that would be quite difficult to do?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dice game: How to handle 2 players and separate totals?
    By crazychile in forum C Programming
    Replies: 7
    Last Post: 10-20-2008, 12:01 AM
  2. Structure of a program
    By stef569 in forum C Programming
    Replies: 6
    Last Post: 12-03-2006, 12:13 AM
  3. Player's input in Scrabble?
    By vex_helix in forum C Programming
    Replies: 5
    Last Post: 03-26-2004, 02:38 AM
  4. mp3 players vs mp3 cd players
    By Geo-Fry in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-06-2003, 09:22 PM
  5. increasing players life
    By lambs4 in forum Game Programming
    Replies: 5
    Last Post: 10-20-2002, 04:50 AM