Skip to content

v1.15

Compare
Choose a tag to compare
@db0 db0 released this 04 Nov 19:42
· 136 commits to main since this release

Important for Upgrades

  • New property CFConst.FONT_SIZE_CACHE has to exist. Best practice is to set it to "user://CGFFontCache.json"

New Features

  • Now each card type has exported variables for the canonical card size as well as the various scaling. This finally allows the game to utilize different card sizes at the same time. CardContainers and BoardGrids for different card sizes now also need to have a defined card_size matching the card they're going to host.
  • Added exported vars for controlling card tween duration (@stevosaurus)
  • Mouse will not teleport to a card's top-right when dragging starts. (@stevosaurus)
  • Adjustments to prevent Rich Text Labels from sizing at 4 font size
  • Recursive rescaling will also now take into account MarginContainer margins
  • Added font_size_caching which should now reduce time lost while calculating font sizes.Requires CFConst.FONT_SIZE_CACHE

ScriptingEngine

  • Added new ScEng key KEY_ADJUST_RETRIEVED_INTEGER which allows the script to tweak the retrieved integer before applying it.
  • Added KEY_DIVIDER for per calculations, to allow to check "per X cards" and only count full sets.
  • Added KEY_ORIGINAL_PREVIOUS to allow per_ to user task's prev_subjects. Had to refactor slightly to make this work.