• jan@cosmigo.com

Help with Resizing


#1

I cannot seem to figure how to resize a 16x16 tileset to 48x48. I selected resize and it asked me the new size. Now all I have is a 48x48 grid with 16x16 tiles that don’t fill the 48x48 grid boxes. What am I missing here?


#2

Hi @Triezen,

the easiest way:

  1. Turn it into a non-tile project (Tile Mapping -> Turn into ordinary Project)
  2. Turn it into Tile Map project again, giving the new tile size (Tile Mapping -> Turn Project into Tile Maps)
    Hope this helps.

Best regards,
Jan


#3

@jan.cosmigo Sounds like the intent is to actually scale the entire canvas up 3x so each 16x16 tiles becomes 48x48.


#4

In this case step 1a. should be added using Frame - Resize along with “Scale Image” like “remove/duplicate Pixels” to scale the canvas to the desired size.


#5

Yep there it is. I hadn’t tried doing this before. Nice.

PMNG can even antialias the pixel interpolation if you want.

So for 3x, we just need to do some quick math.
Would be very convenient if we could just type “300%” in the New Width and New Height fields, like Photoshop. But this works fine.


#6

Yes, the resize dialog needs some rework concerning the size modifications. Is on my list. Mock ups are very welcome if you have some ideas to get all the options (the buttons) together. Also if some rewording is necessary, then suggestions are welcome.


#7

I tried that and the biggest problem that I am having now, is that I will have half of a tile in one square with another half of another tile in that same square. The tiles are not lining up in the squares properly. I don’t want to have to go trying to reorganize every single square.


#8

Can you create some image (screenshot with sketch) that shows what you have and what you want to achieve or what went wrong?
This will help to better understand and solve the problem.


#9

Meant to do this sooner but I finally took a stab at doing what I believe Triezen wants to do - which is simply take a 16x16px tilemap and scale it up so the tiles are 48x48px.
Not something I’ve tried before so I wasn’t sure.

recording -
(drew two quick tiles with a little detail in them so we can easily differentiate what they look like before and after scaling)

So, pretty simple - taking what Jan suggested to do I just changed project to an ordinary project (NOT tiled), scaled it up 300% (digging the new percentage fields, @jan.cosmigo!), then converted it back to a tilemap project, but specified 48x48 tiles instead of 16x16.

Is this what you were wanting to do, @Triezen?