• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

[Lập trình Game] Lesson 3: Tilemap and Tileset to create Map Game

AnonyViet by AnonyViet
January 27, 2025
in Tips
0

Next in the series Game programming with Godot I will guide you about tilemap and tileset and use them instead of moving surfaces. So what are Tilemap and Tileset?

Join the channel Telegram belong to AnonyViet 👉 Link 👈
  • Tilemap: tilemap is a grid of tiles brick used to create maps for the game. Or in general Tilemap used for design level yours or can be understood as design sence your house, trap, clouds…
  • Tilesets: is the tilemap library. If you don't understand, you can understand as follows. Tileset is the source of supply brick give tilemap your.

[Lập trình Game] Lesson 3: Tilemap and Tileset to create Map Game

Below is an image of tilemap & tileset:

g2 g3 g4

You can download assets that Anonyviet has provided here, you can either use the self-made version or download it from the internet.

Download Link

(Backup)

How to create Tilemaps and Tilesets

First, download the asset and put it in the project folder:

g5

Then you create a new sent for yourself by clicking plus next to the tab World

g6

And make yourself one node, 2D or Black nodes are fine, don't use User or 3D. Oh and don't save it

Open section tileset out and throw it in sence.

g7 g8

If you zoom in and see a blurry image, do the following:

Click in import tab next to sense

g9

Select 2D pixels then press Reimport that's it

g10

Next, click on the sence in the left corner of the screen, down to section Convert to and choose tileset:

g11

You can save it anywhere, but remember to give it a name .tres behind

g12

Close the sent you just finished.

LIVE World create Node new name is Tilemap

g13

g14

Then drag the section Tile set Just finished going to the Right Place of Tilemap (as shown below)

g15

And yes

g16

Next, click Tile set g18

Click on the red circle, the place you just dragged tileset go there.

Then select the one with the image by clicking on it

g19

And you will see a tileset right before your eyes

g20

And the pixel is 32 so it's a bit big. Now I'll adjust it to 16×16 in the following way:

Click on the yellow box, which is generally inside the yellow box when it appears tileseteditor tab okay.

g21

Look to the right, Adjust Step x 32, y 32 > x 16, y 16

g22

And you can see that the tileset fits very well into the box

g23

Please click here New Atlas and circle as shown in the photo

g24

g25

That is used to create a group of tilesets

And we continue to create until we run out. Once finished, click New Altas to make something new.

And I'm done:

g26

Click Tilemap

g27

Notice it appears tile set which we just circled

g28

But you may see some that don't have pictures.

Complete Tilemap design

To change your photo, do the following:

Go back to the old part and choose 1 Atlas

g29

Select item Icon

g30

And click anywhere in that frame, it can be used to classify tileset

However, when done, your tileset is still not there Collsion so now we have to create it.

Select Collsion

g31

Select a box and then click the blue square above, near the trash can and next to the arrow

Okay like this

g32

Then click another box

g33

And keep doing it until it's done

For cells with horizontal diagonal shapes, do the following

Select the one next to the square

g34

Click to select 2 corners as shown, if you try to click in another direction to round like the picture, it will not work

g35

To round, do the following:

Turn it off as shown in the photo

g37

And do

g38

Just click to connect the dots

Now let's complete it

I'm done:

g39

Now the next thing is level design

Press tile map to return

Delete Node wall Go

g40

Edit pixels become again 16

When you try to place tilesets Go down and you'll see it inverse ratio with sence right?

g41

So how to fix it is simply to resize it tileset by clicking on Box Cell in the right tab

g42

Change 64×64 wall 16×16 = with the size we created.

g43

Your next task is to design it:

g44

Looks pretty good, not too bad

g45

That's it, creating a map in the game using tilemap and tileset. In the next episode, I will guide you to create characters ^^. Bye

DeathGM!

Previous Post

Widgy: Customize unique widgets on iPhone

Next Post

Instructions for running Android applications on Linux with Waydroid

AnonyViet

AnonyViet

Related Posts

How to change the default font on Windows 10
Tips

How to change the default font on Windows 10

April 13, 2026
5 tips for using a Browser to replace an App (helps save RAM, time and money)
Tips

5 tips for using a Browser to replace an App (helps save RAM, time and money)

April 13, 2026
How to make funny MeMe photos without Photoshop within 10 seconds
Tips

How to make funny MeMe photos without Photoshop within 10 seconds

April 11, 2026
How to quickly design your own Logo without Photoshop
Tips

How to quickly design your own Logo without Photoshop

April 10, 2026
How to convert Website into App on Windows
Tips

How to convert Website into App on Windows

April 9, 2026
Instructions for getting 3 months of Adobe Express Pro for free
Tips

Instructions for getting 3 months of Adobe Express Pro for free

April 9, 2026
Next Post
Instructions for running Android applications on Linux with Waydroid

Instructions for running Android applications on Linux with Waydroid

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

How to add Watermark to Google Docs to protect copyright

How to add Watermark to Google Docs to protect copyright

April 19, 2026
How to intercept traffic using Burp Suite to analyze HTTP/HTTPS

How to intercept traffic using Burp Suite to analyze HTTP/HTTPS

April 18, 2026
How to avoid Adblock detection on Youtube with 4 good tips

How to avoid Adblock detection on Youtube with 4 good tips

April 17, 2026
How to transfer ChatGPT data to Claude is extremely simple

How to transfer ChatGPT data to Claude is extremely simple

April 16, 2026
How to add Watermark to Google Docs to protect copyright

How to add Watermark to Google Docs to protect copyright

April 19, 2026
How to intercept traffic using Burp Suite to analyze HTTP/HTTPS

How to intercept traffic using Burp Suite to analyze HTTP/HTTPS

April 18, 2026
How to avoid Adblock detection on Youtube with 4 good tips

How to avoid Adblock detection on Youtube with 4 good tips

April 17, 2026
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

How to add Watermark to Google Docs to protect copyright

How to add Watermark to Google Docs to protect copyright

April 19, 2026
How to intercept traffic using Burp Suite to analyze HTTP/HTTPS

How to intercept traffic using Burp Suite to analyze HTTP/HTTPS

April 18, 2026
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply