This thread is to discuss how to do the online help system, the text source, mechanics and the interface.
As Chris says in the manual thread, the source for the manual and the on-line help should be the same to avoid duplicating the same text.
The source:
I suggest defining a set of simple text formatting rules, and use an XML file to define the text and its format. Later the online help and the manual can read those file to produce the output. This way, if something changes in the text it is automatically updated the next time someone accesses the manual or the help.
We could also use a simple text file, but since XML is bascially a simple text file with some more formatting rules, it sounds like a more robust choice.
A database could also be an option, MySQL is a free database that could be useful.
User interface:
There are several options here. We could opt for simple web pages, or/and we could make a thin Java client that connects to the clash site and reads the necessary files, then formats them using the rules defined. This Java client could be incorporated into the game itself. We would need to think more about what to do when a user is offline: maintain a off-line version with an upgrade button that connects via internet is an option.
Coding:
This depends on how we decide to implement the on-line help system, but right now Java or PHP seems like useful candidates.
Java: Servlets would be great, but that means we need a web server with an application server, not only the HTTP server.
PHP: plugs into an existing HTTP server and it's free.
Mechanics:
How should the user be able to navigate the help? What should be available in the help?
As Chris says in the manual thread, the source for the manual and the on-line help should be the same to avoid duplicating the same text.
The source:
I suggest defining a set of simple text formatting rules, and use an XML file to define the text and its format. Later the online help and the manual can read those file to produce the output. This way, if something changes in the text it is automatically updated the next time someone accesses the manual or the help.
We could also use a simple text file, but since XML is bascially a simple text file with some more formatting rules, it sounds like a more robust choice.
A database could also be an option, MySQL is a free database that could be useful.
User interface:
There are several options here. We could opt for simple web pages, or/and we could make a thin Java client that connects to the clash site and reads the necessary files, then formats them using the rules defined. This Java client could be incorporated into the game itself. We would need to think more about what to do when a user is offline: maintain a off-line version with an upgrade button that connects via internet is an option.
Coding:
This depends on how we decide to implement the on-line help system, but right now Java or PHP seems like useful candidates.
Java: Servlets would be great, but that means we need a web server with an application server, not only the HTTP server.
PHP: plugs into an existing HTTP server and it's free.
Mechanics:
How should the user be able to navigate the help? What should be available in the help?
Comment