There seemed to be a problem with combining LION with GLUT, because GLUT demands the program control with glutMainLoop().
It seems, however, that freeglut3 allows you to call glutMainLoopCycle() which only performs one cycle. This way the user can keep control in his own event loop.
The question is, how does lion_poll() work if both parameters are zero? Does it specify a data change and then relies on the user calling a blocking poll to let the callback function be called?
Furthermore, there is an idea for a collision system. If the server returns the point of the colision and the reflection vector, the user can adjust his position according to that vector, and unless the latency becomes very high, this will look and work very reliable and natural.
The problem is to calculate the damage done to the ship. It's probably a function of incident speed, ship mass and angle of incidence..
Abonneren op:
Reacties posten (Atom)
Geen opmerkingen:
Een reactie posten