Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Online games.
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
TokenHerbz




PostPosted: Mon Sep 18, 2006 12:14 am   Post subject: Online games.

Is turing capable of recording multiple users mouse variables at the same time? if so how do i go about this.

the keyboard im ok with, but its the mouse im at a loss..
Sponsor
Sponsor
Sponsor
sponsor
TokenHerbz




PostPosted: Mon Sep 18, 2006 12:28 am   Post subject: (No subject)

Also, on the same topic, how do i optomize online play, and minimize lag, stallage, and all the other crap i have to deal with from turing.

Are there better ways to establish a connection, etc:?
Cervantes




PostPosted: Mon Sep 18, 2006 6:59 am   Post subject: (No subject)

Um, multiple people using the same mouse? I don't think that's ever worked.

If you're talking about a networked game where everyone has their own mouse, then yes, of course. Just do it like normal. Run the client on the client machine and it will get its own mouse information.

Optimize online play by minimizing the amount of data you have to send. There's many ways to do that.
Tony




PostPosted: Mon Sep 18, 2006 11:44 am   Post subject: (No subject)

the problem is that due to the amount of lag you'll be getting out of networked connections, you'll have difficulty coming close to real-time mouse movement. My personal suggestion is to stick to the keyboard controls.

If mouse is essential, then perhaps you can send data at intervals, but as vectors, and plot the movement on client side. Just remember that by the time you get a hold of that data, the opponent has already moved there, while you are just starting to interpret what has happened since last update.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: