Repository navigation
3.6.6
·
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
BloonsTD6ModoverrideLateOnNewGameModelthat's likeOnNewGameModelbut applying after almost all other base game modifications to the GameModel, such as cosmetic changes and Challenge Rules - Added
ImageSettingsoptions for configuring mod image loading behavior- Can control
FilterMode,MipMapBias,WrapMode,Pivot,PixelsPerUnit,Extrude,MeshTypeandBorder - ModHelper
GetSpriteandGetTexturemethods 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 includeTestPanel.png.jsonwith content{ "Border": [20,20,20,20] }and now TestPanel would work to properly resize with the Sliced image type thatModHelperPaneluses
- Can control
- Added a new
Tweenanimation helper for animating transforms, UI positions / sizes, etc - Added a
ModTowerSet.ShowInMonkeysScreenoverride for controlling whether custom tower sets appear in the modded monkey select menu - Fixed
AddTsmButtonsound behavior ModHelperComponents now all have separate staticCreatemethods and instanceInitmethods, making it easier to make other custom components that inherit fromModHelperComponentsand to applyModHelperComponents to existing gameobjects- Added a
ModPopupImageclass 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