Handling chat in a browser game
Posted: Thu Jan 14, 2010 6:46 pm
My game is to the point where I have players in and moving around to various locations.
Now I'm wanting to add chat functionality. I'm not sure how to go about doing it.
I haven't started coding this yet, as I'm still trying to get it straight in my head. So far the only methods I've come up with require the player to refresh their browser to be able to see the chat of other people. Is there a way for PlayerA to say something and it gets 'pushed' onto PlayerB's browser so he sees it without refreshing?
Now I'm wanting to add chat functionality. I'm not sure how to go about doing it.
I haven't started coding this yet, as I'm still trying to get it straight in my head. So far the only methods I've come up with require the player to refresh their browser to be able to see the chat of other people. Is there a way for PlayerA to say something and it gets 'pushed' onto PlayerB's browser so he sees it without refreshing?