Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Canvas size not scaling properly

A topic by Dryn27 created May 12, 2020 Views: 297 Replies: 2
Viewing posts 1 to 3

Hey! I love your script! <3 but it is not working right now on Aseprite 1.2.18. Canvas size does not scale properly. Could you fix it? I tried but I'm not sure what's happening...

Developer

Thanks for reporting this. I'm facing difficulties in fixing NxPA Studio - I was able to fix issues that arose from Aseprite changing scripting API (like the problem with scaling) but found a different bug. I'm not 100% sure is It an issue with the script or Aseprite Itself. I reported It on GitHub, waiting for a response.

(1 edit)

I had some problems, but I was able to fix it! (I couldn't see the close button, as well the moveable title bar.

In ColorAnalyzerDialog.lua:

function ColorAnalyzerDialog:Show(wait)
    self.dialog:show{wait = wait};

    -- Don't display the dialog in the center of the screen, It covers the image
    local bounds = self.dialog.bounds;
    bounds.x = bounds.x / 2;

    -- Added this line, so now I can close it!
    bounds.y = bounds.y / 2;


    self.dialog.bounds = bounds;
end

Might just got an idea, for a extension...