Skip to content

Instantly share code, notes, and snippets.

@brine
Last active May 22, 2020 18:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brine/7eb2da4da97a48ea52368d64750e6551 to your computer and use it in GitHub Desktop.
Save brine/7eb2da4da97a48ea52368d64750e6551 to your computer and use it in GitHub Desktop.
May 2020 Update

For Players:

  • All piles in the player tab are expandable and collapsable. Use the arrow buttons on the bottom of each pile to expand or collapse it.
    • Expanded piles behave like the hand group. So you can now have multiple hand-like groups displayed.
    • A slider is added to expandable groups to change how how close together the cards can become before the pile width increases.
  • A new button "Undock Card Preview" is added to the top of the play window. This will pop the card preview window into its own resizable window. Useful for dual-monitors and streaming overlays.
  • Added hotkeys to move cards between sections:
    • Ctrl+1-0 Move all of a card to section 1-10 on current tab (player/Global)
    • Ctrl+Shift+1-0 Move all of a card to section 1-10 on other tab (player/Global)
  • Fixed the twitter news feed on the OCTGN login screen.
  • OCTGN Options window is a bit better organized.

For Game Developers

  • o8build has been upgraded to display warning messages in green text. These are recommended changes to make, but will not block validating the game package.
  • o8build no longer enforces a specific sequencing of <game> child elements within the game definition xml. You can list them in any order now.
  • The hand group is deprecated in favor of the new expandable piles feature.
    • Use <group viewState="expanded"> to have the group behave like the hand group.
    • OCTGN will automatically convert existing hand groups into the new structure. This provides compatibility for older games.
    • A warning is added in o8build if the hand group is still defined.
  • Markers are no longer defined in set xmls. They will now be be defined within the game definition xml.
  • Loosened the restrictions on XML inner text for card properties in the set xml
    • both String and RichText properties can use inner text instead of the value attribute
    • RichText properties using the value attribute won't have their text parsed for RichText elements
  • Improved inheritance of alternate card properties.
    • If the alternate has a defined property but that property's value is null, it will not inherit the property from the base card.
  • Python API additions:
    • card.viewState get or sets the view state (collapsed, pile, expanded) of the pile.
    • card.select() now accepts a boolean to control if the card is selected. Defaults to True; passing False will deselect the card.
    • clearSelection() will clear all card selections in the game state.
    • card.hasProperty() will return a boolean checking if the specified property exists on the card

For Deck Editor Plugin Developers

  • Many updates and enhancements to the Octgn.Core.DataExtensionMethods classes. Most of the public methods for developers now have summary tags to explain what their usage is.
@pirinisz
Copy link

After updating, I opened the Deck Editor and realized that all the images of the "Under the Ash Mountain" expansion of The Lord of the Rings game refer to the same file. As a result, all the images are the same!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment