Jump to content

  • Log In with Google      Sign In   
  • Create Account


Collision detection in multiplayer games


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 ByteMe95   Members   -  Reputation: 122

Like
Likes
Like

Posted 27 June 2000 - 07:33 AM

Hey. I''m creating a game with a group of friends. IT''s a simple 2D 640x480x16b mode game, and we''re trying to make it multiplayer using DPlay. Up until now we got DPlay to connect and both players show up and can fire bullets and move, it works fine. But I have a question about collision. Let''s say on my screen I fire a bullet at an enemy and it hits, but on the other screen because of lag or whatever other reason that could cause it the bullet I shot appears to have missed the enemy. How do would I have it set up so that situation doesn''t arise, and/or if it does are there any tricks I''m unaware about? btw, this is my first time using DPlay and it''s going better than I thought it would. I recommend "Inside DirectX" for anyone programming with DX, it''s really informative. Thanks

Sponsor:

#2 -BacksideSnap-   Members   -  Reputation: 122

Like
Likes
Like

Posted 27 June 2000 - 10:42 AM

Can you say "client-server" Set one machine up as the server that dictates when a collision takes place and passes it back to the client. Let the server pass messages to the client to keep the game in sync.

-BacksideSnap-




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS