<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Workflow merge tiled maps.]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2123&amp;type=atom" />
	<updated>2023-06-01T10:30:42Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2123</id>
		<entry>
			<title type="html"><![CDATA[Re: Workflow merge tiled maps.]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9054#p9054" />
			<content type="html"><![CDATA[<p>1. Find the minimum and maximum values of X and Y that you have.<br />2. Create a texture of size ((maxX - minX + 1) * 256), (maxY - minY + 1) * 256).<br />Important: Unity can&#039;t work with textures with side sizes larger than 16k.<br />3. Read the texture of the tile from each of your sets, and get the colors.<br /><a href="https://docs.unity3d.com/ScriptReference/Texture2D.html">https://docs.unity3d.com/ScriptReference/Texture2D.html</a><br />4. Calculate the offset for the new texture (x = (tileX - minX) * 256, y = (tileY - minY) * 256).<br />5. Set the colors in the new texture.<br /><a href="https://docs.unity3d.com/ScriptReference/Texture2D.SetPixels.html">https://docs.unity3d.com/ScriptReferenc … ixels.html</a><br />6. After you&#039;ve gone through all the tiles, encode the texture to PNG and save the file.<br /><a href="https://docs.unity3d.com/ScriptReference/ImageConversion.EncodeToPNG.html">https://docs.unity3d.com/ScriptReferenc … ToPNG.html</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2023-06-01T10:30:42Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9054#p9054</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Workflow merge tiled maps.]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9053#p9053" />
			<content type="html"><![CDATA[<p>Well I do have some experience. It&#039;s the question if I have enough.<br />How would you implement it?</p>]]></content>
			<author>
				<name><![CDATA[mh-leo]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2601</uri>
			</author>
			<updated>2023-06-01T09:40:45Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9053#p9053</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Workflow merge tiled maps.]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9052#p9052" />
			<content type="html"><![CDATA[<p>Hi. </p><p>Unfortunately, I don&#039;t know any free solutions for this.<br />If you have programming experience, it&#039;s pretty easy to implement on your own.</p><p>{zoom}, {x}, {y} are tokens that are replaced to values when used.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2023-05-31T19:05:23Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9052#p9052</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Workflow merge tiled maps.]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9050#p9050" />
			<content type="html"><![CDATA[<p>Hallo, I&#039;m using online maps with Resources as Source. So I predownload the tiles for my usage. Now I want to hand over a merged map of the single tiles to an illustrator to make it a custom style. Question is what a good workflow is that is also free. Not like maptiler where I have to pay every month although I just want to merge one time some tiles.</p><p>An additional question is: I found OnlineMapsTiles/{zoom}/{x}/{y} which i dont understand 100% because my folder look like the added foto. What does 43126 e.g. mean.</p><p>Thanks in advance</p>]]></content>
			<author>
				<name><![CDATA[mh-leo]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2601</uri>
			</author>
			<updated>2023-05-31T14:27:31Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9050#p9050</id>
		</entry>
</feed>
