In this part 2 we will initially design the level for the game and then in the following articles we will start creating characters, AI, other modes.
| Join the channel Telegram of the AnonyViet 👉 Link 👈 |
Tileset
About tileset you can understand it is a source of images so you can design the level you want.
Tileset will be the provider and Tilemap will be the user
Download Tileset
First, you need to download yourself a tileset and here I have it ready: Swamp 2D Tileset z
![[Tạo 2D Platformer Game với Godot] Part 2: Designing Level 27 [Tạo 2D Platformer Game với Godot] Part 2: Level Design](https://anonyviet.com/wp-content/uploads/2021/11/08-11-2021-09-46-48.png)
![[Tạo 2D Platformer Game với Godot] Part 2: Designing Level 28 [Tạo 2D Platformer Game với Godot] Part 2: Designing Level 24](https://anonyviet.com/wp-content/uploads/2021/11/08-11-2021-09-47-08.png)
you download and open up then go to tiles -> tileset.png then copy.
![[Tạo 2D Platformer Game với Godot] Part 2: Designing Level 30 [Tạo 2D Platformer Game với Godot] Part 2: Designing Level 26](https://anonyviet.com/wp-content/uploads/2021/11/08-11-2021-09-29-57.png)
After copying you to the game folder create a new folder called Assets (this is where we store the assets for the game).
![[Tạo 2D Platformer Game với Godot] Part 2: Designing Level 31 [Tạo 2D Platformer Game với Godot] Part 2: Designing Level 27](https://anonyviet.com/wp-content/uploads/2021/11/08-11-2021-09-49-16.png)
In the filesystem you will see the result we just did.
Tilemap
![[Tạo 2D Platformer Game với Godot] Part 2: Designing Level 32 [Tạo 2D Platformer Game với Godot] Part 2: Designing Level 28](https://anonyviet.com/wp-content/uploads/2021/11/08-11-2021-10-01-02.png)
Next you create for yourself 1 Node2D is the root node (renamed Map) and create 1 more node is tilemap.
![[Tạo 2D Platformer Game với Godot] Part 2: Designing Level 33 [Tạo 2D Platformer Game với Godot] Part 2: Designing Level 29](https://anonyviet.com/wp-content/uploads/2021/11/08-11-2021-10-03-04.png)
Select the Tilemap node, then on the Inspector tab, click Empty in the Tileset line -> select NewTileset, then the Empty box will become a Tileset and you click on that Tileset.
![[Tạo 2D Platformer Game với Godot] Part 2: Designing Level 34 [Tạo 2D Platformer Game với Godot] Part 2: Designing Level 30](https://anonyviet.com/wp-content/uploads/2021/11/08-11-2021-10-05-28.png)
It will show Tileset tab
![[Tạo 2D Platformer Game với Godot] Part 2: Designing Level 35 [Tạo 2D Platformer Game với Godot] Part 2: Designing Level 31](https://anonyviet.com/wp-content/uploads/2021/11/08-11-2021-10-06-52.png)
Then you drag Tileset.png inside the Tileset tab![[Tạo 2D Platformer Game với Godot] Part 2: Designing Level 36 [Tạo 2D Platformer Game với Godot] Part 2: Designing Level 32](https://anonyviet.com/wp-content/uploads/2021/11/08-11-2021-10-07-26.png)
As above is successful.
![[Tạo 2D Platformer Game với Godot] Part 2: Designing Level 37 [Tạo 2D Platformer Game với Godot] Part 2: Designing Level 33](https://anonyviet.com/wp-content/uploads/2021/11/08-11-2021-10-08-47.png)
Here, I will guide you to make Autotile, and for singles, please refer to the previous articles.
You click on New AutoTile.
![[Tạo 2D Platformer Game với Godot] Part 2: Designing Level 38 [Tạo 2D Platformer Game với Godot] Part 2: Designing Level 34](https://anonyviet.com/wp-content/uploads/2021/11/08-11-2021-10-10-09.png)
Then click the button on the image to display the grid.
![[Tạo 2D Platformer Game với Godot] Part 2: Designing Level 39 [Tạo 2D Platformer Game với Godot] Part 2: Designing Level 35](https://anonyviet.com/wp-content/uploads/2021/11/08-11-2021-10-10-29.png)
Grid was displayed.
Then drag and select the grid as shown above.![[Tạo 2D Platformer Game với Godot] Part 2: Designing Level 41 [Tạo 2D Platformer Game với Godot] Part 2: Designing Level 37](https://anonyviet.com/wp-content/uploads/2021/11/08-11-2021-10-11-54.png)
Then you click on Bitmask so we can create bitmask.
As for why do this, please review the article on creating Autotile with Godot, I have very detailed instructions in designing levels like this.
![[Tạo 2D Platformer Game với Godot] Part 2: Designing Level 42 [Tạo 2D Platformer Game với Godot] Part 2: Designing Level 38](https://anonyviet.com/wp-content/uploads/2021/11/08-11-2021-10-25-29.png)
Then you paint the bitmask like this.
![[Tạo 2D Platformer Game với Godot] Part 2: Designing Level 43 [Tạo 2D Platformer Game với Godot] Part 2: Designing Level 39](https://anonyviet.com/wp-content/uploads/2021/11/08-11-2021-10-26-02.png)
In the Inspector panel, change the autotile bit to 3×3 (minimal).![[Tạo 2D Platformer Game với Godot] Part 2: Designing Level 44 [Tạo 2D Platformer Game với Godot] Part 2: Designing Level 40](https://anonyviet.com/wp-content/uploads/2021/11/08-11-2021-10-26-51.png)
Then go out and click on the tilemap – in the inspector panel find Cell, click down and find the Size to adjust it to match the size of the tileset. In the Tileset I gave above, its size is 32×32.
![[Tạo 2D Platformer Game với Godot] Part 2: Designing Level 45 [Tạo 2D Platformer Game với Godot] Part 2: Designing Level 41](https://anonyviet.com/wp-content/uploads/2021/11/08-11-2021-10-30-27.png)
You click on the tilemap and on the right side you will see the tileset we just created.![[Tạo 2D Platformer Game với Godot] Part 2: Level Design [Tạo 2D Platformer Game với Godot] Part 2: Level Design](https://anonyviet.com/wp-content/uploads/2021/11/08-11-2021-10-29-43.png)
Then you can start designing the way you want.
![[Tạo 2D Platformer Game với Godot] Part 2: Designing Level 47 [Tạo 2D Platformer Game với Godot] Part 2: Designing Level 43](https://anonyviet.com/wp-content/uploads/2021/11/08-11-2021-10-32-21.png)
![[Tạo 2D Platformer Game với Godot] Part 2: Designing Level 48 [Tạo 2D Platformer Game với Godot] Part 2: Designing Level 44](https://anonyviet.com/wp-content/uploads/2021/11/08-11-2021-10-32-06.png)
If the image is blurry, select tileset.png then go to the import tab -> multiply in the preset -> select 2D pixels -> click reimport.










