Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

Exporting with transparencies (feature request)

A topic by harris.hoffman created Feb 09, 2019 Views: 488 Replies: 3
Viewing posts 1 to 3
(1 edit) (+1)

If you're not aware, your fantastic generator has recently been picked up by the Wonderdraft community to create  extra spiffy city maps. Here's a video detailing the current process: https://www.youtube.com/watch?v=Kp_setc0EBM He's exporting a png and working in Photoshop, but exporting an svg and working in Illustrator is actually easier.

Either way, both processes have a slowdown because they have to manually remove the background and water from each image. If the City Generator had the option to only export certain layers, it would make it a much more streamlined process. That way we could kick out a png with transparency from the City Generator, and import it directly into Wonderdraft. No extra programs or editing knowledge needed.

It's a fantastic and easy to use app, I just wanted to toss in my suggestion for improvement.

Developer

I actually thought about adding PSD as an option for export and placing different elements of a map into different layers there. That's what you are asking about more or less, right? I don't  know though how complex this file format is - I wouldn't want to spent more time on implementing this than on the generator itself.

But is it that hard to remove the background and water areas from an svg? Each of them is contained within its own group which effectively should work as Photoshop layers (just a guess really).

(1 edit) (+1)

"But is it that hard to remove the background and water areas from an svg? Each of them is contained within its own group which effectively should work as Photoshop layers (just a guess really)."

If you export SVG and open it in AI, it shouldn't be so hard, although still tedious, if you have to run AI in the first place (or even have it on your PC, which I btw don't). In Photoshop, the problem is that colors used on different elements are similar, which means that when you use magical wand, you often get pixels around borders. Lets say you use wand to select gray houses - well, it will gladly select some gray pixels produced by anti-aliasing around black walls. One may say "oh, just reduce tolerance!" - nope, that way you just loose anti-aliasing around houses you wanted to select. So the only way out of that I am aware of is selecting said element with magical wand and then running around image and deselecting by hand parts which were selected, but are unwanted. Which can be done and is what I am actually doing, but it makes whole procedure couple of minutes longer. Apply those couple of minutes to 20 maps when doing some larger scale worldbuilding and yeah, thats some time spent by annoying pixel deselecting. But if there's no easy solution, thats fine, your generator is still by far the best I found so far!

(+2)

"That's what you are asking about more or less, right? "

It is, yeah. I think the ideal process would be to export as a png with transparency already in place. That way, there's no steps in the middle with Photoshop or Pllustrator. It would speed workflow and let people who don't have image editing ability to still use the tools together.

Thanks so much for making this cool generator.