![game maker studio 2 change sprite game maker studio 2 change sprite](https://forums.rpgmakerweb.com/data/attachments/90/90228-730aecbfe9d1a8fcdcd3db892b3b1bff.jpg)
I want the -background to be transparent. I got that information when I first imported the images in GMS2. Remember it? That is the largest width and height of my images (the final size of the sprite). The 12×12 dimension is the one that GameMaker assigned to the sprite. To do this I open the command prompt. Then I type the command mogrify -background transparent -extent 12x12 -gravity center *.png Nice job, GameMaker! If you type cmd in the address bar, it opens the command prompt in that folder So now a comma is just as big as the number 8. Let’s create a sprite in GMS2 and see what happens then.Īs you can see from the image above, every character has been stretched to fill the entire 12×12 canvas. But I need them to be imported into a single sprite. So let’s say that I need to import all these spritesĪs you can see, all these images have different width and height.
#Game maker studio 2 change sprite install#
If you don’t have it, go get the windows binary and install it. To fix this, I use a command like utility called ImageMagick. Specifically, if the images have different sizes (width and height), the sprite size will be equal to that of the largest image, but all the other images will be imported stretched to fill the canvas (effectively ruining the sprite). When you try to import multiple images into a single sprite in GameMaker Studio 2, you could end up with unexpected results.