Andor's Trail is developed as open-source, roughly meaning that anyone can help add content to the game. If you are experienced with development, you are welcome to help in adding code to the game.
The source code for Andor's Trail is available in Git from this page.
The git repository root contains the following subdirectories:
AndorsTrail - This is the main source code for the game itself.
AndorsTrailEdit - Editor for items, monsters and dialog. See the Content Editor page for more info on how to use them.
If you want to get aquainted with the code, you are encouraged to download the code and start playing with it yourself. The best code additions are usually from players that want to fix some issue that would enhance their gameplay, so if you find something that you want to add or fix, then please try adding that to the code.
If you want other inspirations to things that need to be done in the code, see the issue tracker list, or try one of the following:
Code that is added to Andor's Trail should follow these guidelines:
When developing the game code, there are a couple of debug parameters that you can set to make the development process easier. In file AndorsTrailApplication?.java, you can enable the following parameters:
DEVELOPMENT_DEBUGRESOURCES - Only loads some resources duing startup, not all monsters, items or maps. The player will be placed on a debug map instead of the “real” world. Enabling this speeds up the game startup time dramatically.
DEVELOPMENT_QUICKSTART - When the game starts, automatically continues the last game. This ay you don't have to see the startup screen when developing.
DEVELOPMENT_DEBUGBUTTONS - Enabled cheat buttons to spawn new monsters, add exp or gold and change the player combat parameters.
DEVELOPMENT_VALIDATEDATA - Enables a lot of consistency checks on the data being loaded from resources. For example, checks that all items exists and that the dialog has correct references.
DEVELOPMENT_DEBUGMESSAGES - Enables logging to catlog. Witht his disabled, no output will be placed in the system log whatsoever.
For a release version, all of these parameters are ofcourse set to false.