[gameprogrammer] Re: [ANNOUNCE] NewI\O Alpha Version 0.07 (Build 043)

On 9/29/05, Olof Bjarnason <olof.bjarnason@xxxxxxxxx> wrote:
>
> Any particular reason why you are not using a message queue on the
> server? I mean instead receiving a message, changing the "browser
> state" and hoping the client code catches the "event" at right time,
> put it in a message queue and let the client code handle the messages
> as any other SDL program?

I did mention this possibility earlier when I wrote:

> Or I need to implement an event system in the API on the server.

There are a few reasons why this has not been done yet:

1. I was trying to keep the API as simple as possible.

2. I do not know how to do it, yet.

3. I have been more focused on the client side, than the server side.

Having said that I did implement a quick circular buffer so the
messages are not lost. I am hopeful that Jake can tell me whether this
appears to be an improvement are not with his slow connection to my
server.

I do not think it will miss events anymore, but it still feels a
little mushy to me somehow, like it is getting too many mouse movement
data points, if that makes sense.

Chris

--
E-Mail: Chris Nystrom <cnystrom@xxxxxxxxx>
Business: http://www.shaklee.net/austin
Blog: http://conversazione.blogspot.com/
AIM: nystromchris


---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: