HTML5 Support for Marauroa: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Hendrik Brummermann Created page with "{{Navigation for Marauroa Top|Internals}} {{Navigation for Marauroa Developers}} The official release version of Marauroa consists of client and server libraries written in Java..." |
imported>Kymara m →How to contribute?s: remove ? character |
||
| (28 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Navigation for Marauroa Top|Internals}} |
{{Navigation for Marauroa Top|Internals}} |
||
{{Navigation for Marauroa Developers}} |
{{Navigation for Marauroa Developers}} |
||
<div style="padding: 1em; border: 2px solid #AA0;"> |
|||
This article describes work in progress. |
|||
</div> |
|||
The official release version of Marauroa consists of client and server libraries written in Java. |
The official release version of Marauroa consists of client and server libraries written in Java. |
||
| Line 6: | Line 12: | ||
There is currently work underway in the git branch "perception_json" to add support for HTML5 clients written in JavaScript. We want to make it as easy as possible for people to create HTML5 games with Marauroa. Therefore we have ported the client/server communication protocol to JSON and provided a JavaScript implementation of the Marauroa client. It will keep track of the state of the world and handle all the complex communication issues such as the Delta² algorithm. |
There is currently work underway in the git branch "perception_json" to add support for HTML5 clients written in JavaScript. We want to make it as easy as possible for people to create HTML5 games with Marauroa. Therefore we have ported the client/server communication protocol to JSON and provided a JavaScript implementation of the Marauroa client. It will keep track of the state of the world and handle all the complex communication issues such as the Delta² algorithm. |
||
== Design |
== Design Principles == |
||
* Allow HTML5 and traditional clients interacting with each other on the same server |
* Allow HTML5 and traditional clients interacting with each other on the same server |
||
* Hide the complex details and provide a nice API |
* Hide the complex details and provide a nice API |
||
* Game logic should not need to handle HTML5 clients differently from traditional clients. |
* Game logic should not need to handle HTML5 clients differently from traditional clients. |
||
* Stay true to the [[Marauroa Features|Arianne |
* Stay true to the [[Marauroa Features|Arianne principles]] |
||
== How to contribute |
== How to contribute == |
||
The basic concepts of Marauroa have been ported. Before we do an official release, we want to ensure a stable API. |
The basic concepts of Marauroa have been ported. Before we do an official release, we want to ensure a stable API. |
||