Finding your way around the Stendhal Web Client Code
This doucment describes the code structure of the experimental Stendhal web client. Please see How to setup an experimental Stendhal HTML5 Environment? for information on how to setup a development environment.
The web client is in the srcjs folder, which is next to the src-folder for Java. It makes uses of the marauroa client to handle network communication.
|Folder / Files
|Actions sent from the client to the server
|data structures for maps and image caches
|entities (a combination of Entities and EntityViews in the java client)
|events sent from the server to the client
|main entry point
- The world view and the minimap are canvas based
- The draw logic for world view and minimap is inside stendhal/entities.
- The buddy list, chat bar and chat log are rendered using HTML