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?
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?
Eat cheese!
Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.
- Mike McShaffry
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.
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
>> 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?