Vitaly Omelchenko

less info
76 reputation
5
bio website
location
age
visits member for 2 years, 6 months
seen yesterday

2d
comment How do I implement friction in a billiards game?
I just tutored someone on physics, so I thought I would add my two cents. There are two types of friction, kinetic and static. When your ball is moving, you are using kinetic friction, tl;dr, you can use the v *= factor for that, however, there should be some speed at which the speed is small enough for static friction to completely stop it, so put a stop if(speed < 0.001) speed = 0; moving = false, etc. Otherwise the ball will keep on moving and moving (very slowly mind you), and you won't really know when it is supposed to stop.
Apr
18
awarded  Student
Apr
18
asked UDP server and large number of users?
Apr
18
revised In regards to applet games and UDP
Fixed formatting
Apr
18
answered In regards to applet games and UDP
Sep
14
awarded  Supporter
Aug
28
awarded  Tumbleweed
Aug
22
comment game-state update structure and distribution in MMO?
@Tom I recommend googling every mmo you know of, every multiplayer game you know of and adding things like network model or protocol, there will be tons of useful information for this. Some documents are going to be pure theory, and if there is source code available even better. Here is quake 3 "documentation" fabiensanglard.net/quake3/network.php and here is Unreal "documentation" udn.epicgames.com/Three/NetworkingOverview.html
Aug
22
comment game-state update structure and distribution in MMO?
@da_bOuncer : Acks do not have to be sent separately, they can piggy back with the messages that are being sent to and from the server. So you may send a message like [my sequence] [ack last sequence] [unreliable] [reliable] etc. So the minimum message you can send is [my sequence] [ack last received sequence]. The acks are important for both reliable and unreliable as the client needs to know if the server got the latest state change or not, if there is no ack, then you have to resend otherwise you might get out of sync.
Aug
22
awarded  Editor
Aug
22
awarded  Teacher
Aug
22
revised game-state update structure and distribution in MMO?
added 515 characters in body
Aug
22
answered game-state update structure and distribution in MMO?