Skip to content

Commit

Permalink
Bump Version for 3.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
doombubbles committed Oct 25, 2024
1 parent ac7d1c2 commit 1e057c8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions BloonsTD6 Mod Helper/Api/Commands/ExportDisplayCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ private void Export(UnityDisplayNode node)
var i = 0;
foreach (var frame in customSpriteFrameAnimator.frames)
{
var path = Path.Combine(FileIOHelper.sandboxRoot, renderer.name + ".png");
var path = Path.Combine(FileIOHelper.sandboxRoot, $"{renderer.name}_{i}.png");
frame.TrySaveToPNG(path);
ModHelper.Msg($"Saved {path}");
i++;
}
}
else
{
var path = Path.Combine(FileIOHelper.sandboxRoot, renderer.name + ".png");
var path = Path.Combine(FileIOHelper.sandboxRoot, $"{renderer.name}.png");
if (renderer.Is(out SpriteRenderer spriteRenderer))
{
spriteRenderer.sprite.texture?.TrySaveToPNG(path);
Expand Down
10 changes: 5 additions & 5 deletions BloonsTD6 Mod Helper/LATEST.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- Added a ModBloonOverlay class for making custom Bloon Overlays
- NOTE: Due to a MelonLoader bug, these won't properly display unless you're on ML 0.6.6 or higher
- Accounted for a Unity bug that was affecting the internal durations of embedded AudioClips
- Added a Sprite.TrySaveToPNG() extension like the one for Textures except accounting for position and size within a larger texture atlas
- Added `export image` console commands that exports all UI images underneath your mouse cursor to png files
- Fixed an issue that made embedded audio clips be loaded with extra silence at the end of them
- Added a `ModBloonOverlay` class for making custom Bloon Overlays
- NOTE: Due to a MelonLoader bug, these won't display correctly on ML 0.6.5, but work again starting with [0.6.6 / nightly versions](https://nightly.link/LavaGang/MelonLoader/workflows/build/master)
- Added a `Sprite.TrySaveToPNG()` extension like the one for Textures except accounting for the Sprite's position and size within its texture atlas
- Added `export image` console command that exports all UI images underneath your mouse cursor to png files
2 changes: 1 addition & 1 deletion BloonsTD6 Mod Helper/ModHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace BTD_Mod_Helper;
public static class ModHelper
{
internal const string Name = "BloonsTD6 Mod Helper";
internal const string Version = "3.3.1";
internal const string Version = "3.3.2";
internal const string RepoOwner = "gurrenm3";
internal const string RepoName = "BTD-Mod-Helper";
internal const string Description =
Expand Down

0 comments on commit 1e057c8

Please sign in to comment.