All Versions
Latest Version
Avg Release Cycle
92 days
Latest Release
1902 days ago

Changelog History

  • v0.5.0 Changes

    April 05, 2019

    ๐Ÿš€ Since the release of the alpha of 0.5.0, several exciting pull requests have been merged, allowing us finally to release version 0.5.0. This version still does not support attachments (it's coming...).

    ๐Ÿ†• New features are:

    • โœ… Included support of character stats (#124). This PR also fixes a long lurking bug that caused Doctrine to use the wrong column names (tip: AnsiQuoteStrategy is not a good choice).
    • Switch to symfony4 for some required dependencies (#122)
    • โž• Added two new admin commands - one to list characters, one to reset the viewpoint on a character in case of errors (#123).

    All these changes allow us to wrap together a new installer with our brand new installer - with some modules that give together a basic game Woohooo!

  • v0.5.0-alpha Changes

    October 10, 2018

    This new version introduces a huge bc break by removing character and scene auto-increment id's. Instead, we switched to uuid as identifiers.

  • v0.4.1 Changes

    April 26, 2018
    • โž• Adds a hotfix to re-enable testing via ./t command
    • ๐Ÿ›  Fixes a few PHP7.2 issues.
  • v0.4.0 Changes

    January 26, 2018

    ๐Ÿš€ This update releases the full version of 0.4.0. Please be aware that this is still a pre-release.

  • v0.4.0-alpha Changes

    January 14, 2018

    This version introduces several API changes to make module development easier:

    • Viewpoints can now be more easily modified by using $viewpoint->addDescriptionParagraph() to add a single paragraph to the description. Internally, the viewpoint keeps an array of paragraphs and joins it together if $viewpoint->getDescription() is called.
    • Viewpoints can now more easily manage actions.
      • $viewpoint->addActionGroup can be used to add a single action group instead of replacing all.
      • $viewpoint->findActionGroupById can be used to return a selected action group. If not found, the method returns null.
    • ๐Ÿ‘ The dice bag supports now a integer based dice with uniform distribution additionally to the float based uniform distribution.
    • โž• Adds a few more pre-defined EventContextData containers.
    • ๐Ÿ”ง Certain models can now be extended (for now, this is just the characer class) by using the model extension api. For this, a module must include a list of all extending classes in their configuration (lotgd.yml), for example:

      modelExtensions: - "LotGD\Module\Res\Fight\Models\CharacterResFightExtension

    The corresponding class must be annoted with @extension which tells the API which class gets extended. It also must contain annotated, static methods that are annotated with @ExtensionMethod. The parameter "as" tells the API under which method name it can be called from the character model.

    use LotGD\Core\Doctrine\Annotations\Extension;use LotGD\Core\Doctrine\Annotations\ExtensionMethod;/\*\* \* @Extension(of="LotGD\Core\Models\Character") \*/class CharacterResFightExtension{/\*\* \* Levels up a given character. \* @param Character $character \* @ExtensionMethod(as="levelUp")\*/public static function levelUpCharacter(Character $character): void {$character-\>setLevel($character-\>getLevel() + 1); }}

    This method would, after loading, be available on the character model using $character->levelUp().

  • v0.3.2-alpha

    June 23, 2017
  • v0.3.1-alpha Changes

    June 23, 2017

    ๐Ÿ”– Version 0.3.1 introduces custom action name parameters and changes the game constructor to the builder pattern with dependency injection to allow better testing methods.

  • v0.3.0-alpha Changes

    April 25, 2017

    Preview 0.3.0-alpha introduces a change in the event API to allow stricter control of context parameters:

    public static function handleEvent(Game $g, EventContext $context): EventContext;

    EventContext gives access to the called event name via Event() and to the matched pattern via getMatchingPattern. Depending on the type of the EventContextData, different fields are available and modifyable via getDataField($field) and setDataField($field, $value).

  • v0.2.0-alpha Changes

    March 14, 2017

    โšก๏ธ An update to highlight the chances that happend since v0.1.0. Main changes are:

    #78 (Introduces permissions) and #83 (Improved the way scenes are connected to each other). Modules that need to introduce scenes during their installation need to change their code to be compatible with this version.

  • v0.1.0-alpha Changes

    December 31, 2016

    ๐Ÿš€ Cutting this v0.1.0-alpha release to give module collaborators a fixed API to depend on when doing their work.