<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>Tileset &#8211; AnonyViet</title>
	<atom:link href="https://anonyviet.com/tag/tileset/feed/" rel="self" type="application/rss+xml" />
	<link>https://anonyviet.com</link>
	<description>Webiste chia sẻ kiến thức công nghệ thông tin, mạng máy tính, bảo mật phổ biến nhất Việt Nam. Luôn cập nhật tin tức, thủ thuật nóng hổi nhất</description>
	<lastBuildDate>Thu, 24 Jul 2025 08:23:31 +0000</lastBuildDate>
	<language>vi</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://anonyviet.com/wp-content/uploads/2018/10/cropped-ico-logo-75x75.png</url>
	<title>Tileset &#8211; AnonyViet</title>
	<link>https://anonyviet.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game</title>
		<link>https://anonyviet.com/lap-trinh-game-bai-3-tilemap-va-tileset/</link>
					<comments>https://anonyviet.com/lap-trinh-game-bai-3-tilemap-va-tileset/#comments</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Tue, 18 Feb 2020 07:52:24 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Godot]]></category>
		<category><![CDATA[GODOT ENGINE]]></category>
		<category><![CDATA[lập trình game]]></category>
		<category><![CDATA[thiết kế game]]></category>
		<category><![CDATA[Tilemap]]></category>
		<category><![CDATA[Tileset]]></category>
		<guid isPermaLink="false">https://anonyviet.com/?p=17846</guid>

					<description><![CDATA[Tiếp theo trong series lập trình game bằng Godot mình sẽ hướng dẫn các bạn về tilemap và tileset và sử dụng nó thay cho bề mặt di chuyển. Vậy Tilemap và Tileset là gì? Tilemap: tilemap là một mạng lưới các gạch được sử dụng để tạo ra map (bản đồ)  cho game. Hoặc [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>Tiếp theo trong series <a href="https://anonyviet.com/?s=Godot" target="_blank" rel="noopener noreferrer">lập trình game bằng Godot</a> mình sẽ hướng dẫn các bạn về tilemap và tileset và sử dụng nó thay cho bề mặt di chuyển.</strong> <strong>Vậy Tilemap và Tileset là gì?</strong></p>
<ul>
<li><strong>Tilemap</strong>: tilemap là một mạng lưới các <strong>gạch</strong> được sử dụng để tạo ra map (bản đồ)  cho game. Hoặc nói chung là <strong>Tilemap</strong> dùng để thiết kế <strong>level</strong> của bạn hoặc có thể hiểu là thiết kế <strong>sence</strong> của bạn như ngôi nhà, bẫy, mây&#8230;</li>
<li><strong>Tilesets</strong>: là thư viện của tilemap. Nếu bạn không hiểu thì có thể hiểu như sau. Tileset là nguồn cung cấp <strong>gạch</strong> cho <strong>tilemap</strong> của bạn.</li>
</ul>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g1.jpg"><img fetchpriority="high" decoding="async" class="aligncenter  size-full" src="https://anonyviet.com/wp-content/uploads/2020/02/g1.jpg" alt="tạo map cho game bằng Tilemap và Tileset" width="434" height="279" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 44"></a></p>
<p><strong>Dưới đây là hình ảnh về tilemap &amp; tileset:</strong></p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g2.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g2.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 43" width="303" height="203" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 45"></a> <a href="https://anonyviet.com/wp-content/uploads/2020/02/g3.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g3.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 44" width="455" height="213" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 46"></a> <a href="https://anonyviet.com/wp-content/uploads/2020/02/g4.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g4.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 45" width="432" height="282" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 47"></a></p>
<p>Bạn có thể <strong>tải asset</strong> mà Anonyviet đã cung cấp ở đây hoặc là xài bản tự tạo hoặc tải trên mạng về đều được nhé.</p>
<p style="text-align: center;"><span style="font-size: 14pt;"><strong><span style="text-decoration: underline;"><a href="https://drive.google.com/file/d/1nmB93vjavqfErYilXGm8o0WPB-vHMdvk/view?usp=sharing" target="_blank" rel="noopener noreferrer">Link Download</a></span></strong></span></p>
<p style="text-align: center;">(<strong><a href="http://www.fshare.vn/file/12X984KAG51H" target="_blank" rel="noopener noreferrer">Backup</a></strong>)</p>
<h2>Cách tạo Tilemap và Tilesets</h2>
<p>Đầu tiên các bạn tải asset về và đưa nó vào thư mục lưu project:</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g5.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g5.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 46" width="804" height="230" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 48"></a></p>
<p>&nbsp;</p>
<p>Sau đó các bạn tạo cho mình 1 sence mới bằng cách nhấn vào<strong> dấu cộng</strong> bên cạnh tab <strong>World</strong></p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g6.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g6.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 47" width="604" height="271" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 49"></a></p>
<p>Và tạo cho mình một <strong>node</strong>, <strong>2D</strong> hoặc <strong>Node đen</strong> đều được, không được sài User hay 3D. À và đừng có lưu lại nhé</p>
<p>Mở phần <strong>tileset</strong> ra và quăng nó vô <strong>sence.</strong></p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g7.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g7.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 48" width="275" height="321" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 50"></a> <a href="https://anonyviet.com/wp-content/uploads/2020/02/g8.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g8.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 49" width="372" height="271" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 51"></a></p>
<p>Zoom lên nếu các bạn thấy ảnh mờ thì làm như sau:</p>
<p>Nhấn vô <strong>tab import</strong> bên cạnh sence</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g9.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g9.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 50" width="196" height="481" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 52"></a></p>
<p>Chọn <strong>2D pixel</strong> rồi nhấn <strong>Reimport</strong> là xong</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g10.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g10.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 51" width="321" height="244" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 53"></a></p>
<p>Tiếp theo nhán vô sence góc trái màn hình, xuống phần <strong>Convert to</strong> và chọn <strong>tileset</strong>:</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g11.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g11.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 52" width="300" height="334" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 54"></a></p>
<p>Các bạn lưu cho mình ở đâu cũng được nhưng nhớ đặt tên thì phải có <code>.tres</code> đằng sau nhé</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g12.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g12.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 53" width="426" height="109" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 55"></a></p>
<p>Đóng sence vừa làm xong đi.</p>
<p>Ở <strong>World</strong> tạo <strong>Node</strong> mới tên là <strong>Tilemap</strong></p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g13.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g13.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 54" width="572" height="174" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 56"></a></p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g14.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g14.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 55" width="359" height="205" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 57"></a></p>
<p>Sau đó kéo phần <strong>Tile set</strong> vừa mới làm xong vào Chỗ  bên phải của <strong>Tilemap </strong>(như hình bên dưới)</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g15.jpg"><img decoding="async" class="size-full  aligncenter" src="https://anonyviet.com/wp-content/uploads/2020/02/g15.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 56" width="271" height="66" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 58"></a></p>
<p>Và được</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g16.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g16.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 57" width="559" height="287" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 59"></a></p>
<p>Tiếp đến các bạn nhấn vào<strong> Tile set</strong> <a href="https://anonyviet.com/wp-content/uploads/2020/02/g18.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g18.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 58" width="290" height="39" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 60"></a></p>
<p>nhấn vào cái khoanh đỏ ý nhé, cái chỗ mới kéo <strong>tileset</strong> vô đó.</p>
<p>Rồi chọn cái có hình bằng cách nhấn vào nó</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g19.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g19.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 59" width="483" height="305" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 61"></a></p>
<p>Và các bạn sẽ thấy 1 tileset ngay trước mắt</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g20.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g20.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 60" width="470" height="368" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 62"></a></p>
<p>Và cái pixel nó đang là 32 nên hơi to giờ mình sẽ chỉnh xuống 16&#215;16 bằng cách sau:</p>
<p>Nhấn vô cái ô màu vàng nói chung là bên trong cái ô màu vàng bấm khi nào hiện ra <strong>tab tileseteditor</strong> là được.</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g21.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g21.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 61" width="359" height="340" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 63"></a></p>
<p>Nhìn vào bên phải, <strong>Chỉnh Step x 32, y 32 &gt; x 16, y 16</strong></p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g22.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g22.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 62" width="223" height="232" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 64"></a></p>
<p>Và bạn có thể thấy tileset nó rất vừa với ô</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g23.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g23.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 63" width="478" height="283" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 65"></a></p>
<p>Các bạn nhấn vô <strong>New Atlas</strong> và khoanh vùng như ảnh</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g24.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g24.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 64" width="491" height="392" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 66"></a></p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g25.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g25.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 65" width="194" height="118" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 67"></a></p>
<p>Cái đó dùng để tạo 1 nhóm tileset</p>
<p>Và chúng ta tiếp tục tạo đến khi hết nhé, khoanh vùng xong thì nhấn <strong>New Altas</strong> để làm cái mới.</p>
<p>Và mình đã xong rồi nhé:</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g26.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g26.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 66" width="551" height="346" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 68"></a></p>
<p>Nhấn vào <strong>Tilemap</strong></p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g27.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g27.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 67" width="228" height="171" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 69"></a></p>
<p>Để ý nó hiện ra <strong>tile set</strong> mà chúng ta vừa khoanh</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g28.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g28.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 68" width="555" height="314" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 70"></a></p>
<p>Nhưng bạn có thể thấy 1 vài cái không có ảnh.</p>
<h2>Thiết kế Tilemap hoàn chỉnh</h2>
<p><strong>Để đổi ảnh các bạn làm như sau:</strong></p>
<p>Vô lại phần cũ chọn 1 Atlas</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g29.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g29.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 69" width="554" height="332" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 71"></a></p>
<p>Chọn mục <strong>Icon</strong></p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g30.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g30.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 70" width="431" height="330" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 72"></a></p>
<p>Và nhấn bất kì vô trong khung đó, nó có thẻ được dùng để phân loại tileset</p>
<p>Tuy nhiên khi làm xong nhưng mà tileset của bạn vẫn chưa có <strong>Collsion</strong> nên bây giờ phải tạo nhé.</p>
<p>Chọn <strong>Collsion</strong></p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g31.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g31.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 71" width="483" height="404" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 73"></a></p>
<p>Chọn 1 ô rồi nhấn cái hình vuông màu xanh ở trên, gần cái thùng rác và bên cạnh cái mũi tên</p>
<p>Được như này</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g32.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g32.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 72" width="421" height="319" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 74"></a></p>
<p>Rồi sau đó nhấn sang ô khác</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g33.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g33.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 73" width="385" height="306" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 75"></a></p>
<p>Và tiếp tục làm cho đến khi xong nhé</p>
<p>Đối với mấy ô có hình chéo ngang ô vuông thì làm như sau</p>
<p>Chọn cái bên cạnh ô vuông</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g34.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g34.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 74" width="406" height="314" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 76"></a></p>
<p>Nhấp chuột chọn 2 góc như hình, nếu bạn cố bấm hướng khác để tròn như ảnh sẽ không được</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g35.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g35.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 75" width="408" height="314" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 77"></a></p>
<p>Để làm tròn thì làm như sau:</p>
<p>Tắt cái như ảnh</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g37.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g37.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 76" width="339" height="84" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 78"></a></p>
<p>Và làm</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g38.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g38.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 77" width="489" height="236" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 79"></a></p>
<p>Các bạn nhấp chuột kết nối các điểm lại là được nhé</p>
<p>Giờ thì hoàn thành nó nhé</p>
<p>Mình đã xong rồi nhé:</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g39.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g39.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 78" width="434" height="347" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 80"></a></p>
<p>Giờ thì việc tiếp theo là thiết kế level</p>
<p>Nhấn <strong>tile map</strong> để về</p>
<p><strong>Xóa Node wall</strong> đi</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g40.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g40.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 79" width="732" height="367" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 81"></a></p>
<p>Chỉnh <strong>pixel</strong> lại thành <strong>16</strong></p>
<p>Khi các bạn thử đặt <strong>tilesets</strong> xuống sẽ thấy nó <strong>tỉ lệ nghịch</strong> với <strong>sence</strong> đúng không nào</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g41.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g41.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 80" width="499" height="259" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 82"></a></p>
<p>Vậy làm sao để sửa đơn giải chỉ là chỉnh lại kích cỡ của <strong>tileset</strong> bằng cách nhấn vô Ô <strong>Cell</strong> ở tab bên phải</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g42.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g42.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 81" width="213" height="222" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 83"></a></p>
<p>Đổi <strong>64&#215;64</strong> thành <strong>16&#215;16</strong> = với kích cỡ chúng ta đã tạo.</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g43.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g43.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 82" width="211" height="357" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 84"></a></p>
<p>Nhiệm vụ tiếp theo của bạn là thiết kế nó:</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g44.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g44.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 83" width="487" height="363" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 85"></a></p>
<p>Nhìn khá được không tệ lắm</p>
<p><a href="https://anonyviet.com/wp-content/uploads/2020/02/g45.jpg"><img decoding="async" class="aligncenter size-full " src="https://anonyviet.com/wp-content/uploads/2020/02/g45.jpg" alt="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 84" width="450" height="299" title="[Lập trình Game] Bài 3: Tilemap và Tileset để tạo Map Game 86"></a></p>
<p>Vậy là xong phần tạo bản đồ trong game bằng tilemap và tileset. Trong tập tiếp theo mình sẽ hướng dẫn các bạn tạo nhân vật nhé ^^. Bye</p>
<p style="text-align: right;"><strong>DeathGM!</strong></p>
<h2>Câu hỏi thường gặp</h2>
<h3>Tilemap và Tileset khác nhau như thế nào?</h3>
<p>Tilemap là mạng lưới các gạch dùng để tạo bản đồ game.  Tileset là thư viện chứa các &#8220;gạch&#8221; cung cấp cho Tilemap.</p>
<h3>Tôi cần làm gì nếu ảnh Tileset hiển thị mờ?</h3>
<p>Trong tab Import, chọn &#8220;2D pixel&#8221; và nhấn &#8220;Reimport&#8221; để cập nhật chất lượng hình ảnh.</p>
<h3>Làm thế nào để thay đổi kích thước Tile trong Tileset?</h3>
<p>Nhấn vào ô màu vàng trong TileSet Editor để mở cửa sổ chỉnh sửa, sau đó thay đổi kích thước Tile (ví dụ: 16&#215;16).</p>
]]></content:encoded>
					
					<wfw:commentRss>https://anonyviet.com/lap-trinh-game-bai-3-tilemap-va-tileset/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
