Development documentation is at https://jajir.github.io/microcol/microcol-game/, various reports are at https://jajir.github.io/microcol/microcol-game/project-reports.html.
Go to directory where MicroCol source code will be stored and execute at command line:
git clone https://github.com/jajir/microcol.git
Now directory microcol should appears with source code.
Main project directory microcol will contain following projects:
Each project is maven module with same name.
From main menu select "File" --> "Import". Select option "Existing maven projects". Importing wizard should appear. In field "Root directory" select previously created microcol directory. Click to "Finish". Now all maven modules should be imported.
This guide is useful when you just need start game for testing purposes. For running from command line is used maven exec plugin. To compile whole game and start it go to directory microcol-game and execute:
mvn compile exec:exec
Most of game images are stored in file src/main/resources/images/background.png. This file is generated from file scr/graphics/background.svg. All images in game should be edited with inkscape version 0.92.
Open scr/graphics/background.svg in Inkspace. Look at layer description. In this layer is description of each tile. It's useful to have description layer visible during editing.
All image tiles are separated by Guides. Between each tiles is small space. This space prevent tiles from influencing each other during exporting in png.
Here is described how to produce final png file from svg sources file.
How to export images:
Compile application and start it. Verify that there are no exception is logs.
Before generating UML diagrams graphviz have to be installed. For UML diagrams are used plant UML diagrams. Diagrams are generated from plain text source files located at ./src/main/plantuml/. Images are generated during site generating process to directory ./target/site/. Images could be generated manually by:
mvn plantuml:generate