affinlee Posted September 1, 2021 Share Posted September 1, 2021 I'm trying to make a 256x128 px tile for a game. I thought that the Affinity designer isometric drawing features would make this easy, but I've run into two problems, which are probably related. 1. First, since the grid dimensions are measured along the planar axis, it is difficult to figure out the proper grid size to use to get the final dimensions desired. I'm sure there's a fancy trig formula I could use for this, but through trial and error and the use of some ruler guides, I figured out that a 2:1 Isometric grid with a spacing of 143.1px gives me the correct dimensions. It would be nice if there were a way to generate the grid based on regular bounds rather than the planar bounds. 2. After getting this size right, and drawing a rectangle in the top plane, then confirming with the Cycle Selection Box that my resultant rectangle is 256x128, I've found that the export size is inconsistent. If I select the rectangle, then File->Export and change the Area setting to "Selection Only", I will sometimes get 256x128. But if I copy and paste that rectangle elsewhere and try to export it, or even move the original rectangle and attempt to export it, the export size changes so that it is off by one pixel in either or both dimensions (257x129 or 257x128 for example). Any time the rectangle is moved, it's seemingly random what export size I end up with. I have tried with grid snapping on and off, I have tried with Force Pixel Alignment and Move by Whole Pixels on and off (jointly and separately). I've tried making sure the X and Y values in the transform studio are whole numbers each time. No matter what I try, my export size appears to change at random. I suspect a rounding error somewhere, but I can't see any rhyme or reason to it. I've attached a video showing what I'm seeing. What I ultimately want is to be able to reliably draw a rectangle anywhere on my isometric grid and have that rectangle export at 256x128. export_size.mov Quote Link to comment Share on other sites More sharing options...
Old Bruce Posted September 1, 2021 Share Posted September 1, 2021 Why not use a 'Diamond' shape? Just remember to not have a stroke applied to it (have a 0 (zero) point/unit of measurement size stroke). No fancy grid needed. Quote Mac Pro (Late 2013) Mac OS 12.7.2 Affinity Designer 2.3.1 | Affinity Photo 2.3.1 | Affinity Publisher 2.3.1 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that. Link to comment Share on other sites More sharing options...
telemax Posted September 1, 2021 Share Posted September 1, 2021 Hi affinlee! Your video is unavailable. Have you tried Export Persona? Export_Persona.mp4 Quote Non-destructive Mask https://forum.affinity.serif.com/index.php?/topic/150439-non-destructive-mask/Image layer & Pixel layer https://forum.affinity.serif.com/index.php?/topic/146720-image-layer-and-pixel-layer/Brushes | Stars https://forum.affinity.serif.com/index.php?/topic/135202-brushes-stars/ Link to comment Share on other sites More sharing options...
affinlee Posted September 2, 2021 Author Share Posted September 2, 2021 Thanks everyone for your thought so far. @Old Bruce, the diamond is a good idea, but in my case there is (or will be) other isometric content on that tile. The ability to edit directly in isometric planes is how I found out about Affinity Designer, so I'd like to keep using it. @telemax, the Export Persona is neat, I hadn't known about that, and it should solve the "changing export size" part of my problem. But I would still really like a way to easily set the grid spacing to a set of specific rectangular bounds. I also still wonder why moving a rectangle changes its export dimensions. Quote Link to comment Share on other sites More sharing options...
R C-R Posted September 2, 2021 Share Posted September 2, 2021 On 9/1/2021 at 10:39 AM, affinlee said: But if I copy and paste that rectangle elsewhere and try to export it, or even move the original rectangle and attempt to export it, the export size changes so that it is off by one pixel in either or both dimensions (257x129 or 257x128 for example). I am not sure this is your issue but the one pixel larger on export behavior occurs if the object(s) you are exporting are not aligned to exact integer pixel values (both for x & y positions & for w & h dimensions). To make sure you are using exact integer pixel values, you can enter them directly into the Transform panel. You may also find it useful in the app Preferences > User Interface to set decimal places for unit types for pixels to at least 2 decimal places. Quote All 3 1.10.8, & all 3 V23.0 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 Affinity Photo 1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.