Skip to content

3.6.6

Choose a tag to compare

@github-actions github-actions released this 01 Jul 21:46
· 1 commit to 3973309fc7cdec7aea6cf4918641d1adea1f4d0d since this release
  • Fixed a recent change to the Mod Browser that was causing it to run into GitHub API rate restrictions too quickly
    • Also improved the fallback downloading behavior when the Mod Browser is unable to retrieve direct information about the GitHub release
  • Added a new BloonsTD6Mod override LateOnNewGameModel that's like OnNewGameModel but applying after almost all other base game modifications to the GameModel, such as cosmetic changes and Challenge Rules
  • Added ImageSettings options for configuring mod image loading behavior
    • Can control FilterMode, MipMapBias, WrapMode, Pivot, PixelsPerUnit, Extrude, MeshType and Border
    • ModHelper GetSprite and GetTexture methods now accept the class as an additional parameter
    • You can also use json files to set default settings for an image, for example if you had TestPanel.png, you could then also include TestPanel.png.json with content { "Border": [20,20,20,20] } and now TestPanel would work to properly resize with the Sliced image type that ModHelperPanel uses
  • Added a new Tween animation helper for animating transforms, UI positions / sizes, etc
  • Added a ModTowerSet.ShowInMonkeysScreen override for controlling whether custom tower sets appear in the modded monkey select menu
  • Fixed AddTsmButton sound behavior
  • ModHelperComponents now all have separate static Create methods and instance Init methods, making it easier to make other custom components that inherit from ModHelperComponents and to apply ModHelperComponents to existing gameobjects
  • Added a ModPopupImage class that registers an image so that it can be used easily used within hint / event popups
    • public class MyPopupImage : ModPopupImage 
      {
          // the default, aka MyPopupImage.png
          public override string Image => Name;
      }
    • // You can then do the following
      InGame.instance.ShowEventPopup("EventName", GetInstance<MyPopupImage>(), title: "Title", body: "Body", showEverytime:true, showHintPopup:true);
      // showHintPopup controls whether its just a hint at the bottom instead of a full screen popup
  • The BTD6 Mod Sources folder no longer always gets created automatically for everyone, it instead gets created the first time you press the Create Mod button or manually change the folder location in settings