Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualSimonForsman

Posted 03 March 2013 - 01:29 PM

a fairly simple and flexible approach is to just embed a html renderer (Webkit, Gecko, etc) in the game and display the newsfeed as a html page (Which you can retrieve from a webserver using curl (or some equivalent library)), You could also do the same with a custom renderer and json or xml data.

If updates need to arrive alot quicker (if you fetch http data you can't really have your client ask for updates too frequently or it will kill your server) you pretty much have to write a custom server and have the game open a connection to that (And then push out updates from the server rather than have the client ask for updates)

#1SimonForsman

Posted 03 March 2013 - 01:27 PM

a fairly simple and flexible approach is to just embed a html renderer (Webkit, Gecko, etc) in the game and display the newsfeed as a html page (Which you can retrieve from a webserver using curl (or some equivalent library)), You could also do the same with a custom renderer and json or xml data.

PARTNERS