rSimulate / Cosmosium

:earth_americas: js game engine for space-based games
Other
23 stars 7 forks source link

Serve content once #89

Closed BrianErikson closed 9 years ago

BrianErikson commented 9 years ago

Changes the way content is served to the client. Instead of sending the UI to the player on every request, the HTML is sent in one big 'content' chunk, then jQuery is used to toggle the displays when needed. This solves our webGL lost context issue, as well as bandwidth issues due to serving the same content repeatedly for every request.