• 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

Tính Năng “Xem Trực Tiếp” Tại Thể Thao Hubet!

AnonyViet

AnonyViet

Related Posts

7 other features of USB you may not know
Tips

7 other features of USB you may not know

February 14, 2026
Instructions for creating a photo holding a QR code to receive super cute lucky money for Tet
Tips

Instructions for creating a photo holding a QR code to receive super cute lucky money for Tet

February 14, 2026
How to overclock RAM – Overlock RAM helps speed up faster
Tips

How to overclock RAM – Overlock RAM helps speed up faster

February 13, 2026
Suggestions on how to name a good Facebook name – unique and impressive
Tips

Suggestions on how to name a good Facebook name – unique and impressive

February 13, 2026
Increase Laptop PIN usage time using Eco Mode on Windows 10
Tips

Increase Laptop PIN usage time using Eco Mode on Windows 10

February 12, 2026
How to create beautiful Tet photos with AI like professional studio photos
Tips

How to create beautiful Tet photos with AI like professional studio photos

February 12, 2026
Next Post

Tính Năng "Xem Trực Tiếp" Tại Thể Thao Hubet!

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

7 other features of USB you may not know

7 other features of USB you may not know

February 14, 2026
Instructions for creating a photo holding a QR code to receive super cute lucky money for Tet

Instructions for creating a photo holding a QR code to receive super cute lucky money for Tet

February 14, 2026
How to see the package Viettel is using to avoid losing money unfairly

How to see the package Viettel is using to avoid losing money unfairly

February 14, 2026
How to overclock RAM – Overlock RAM helps speed up faster

How to overclock RAM – Overlock RAM helps speed up faster

February 13, 2026
7 other features of USB you may not know

7 other features of USB you may not know

February 14, 2026
Instructions for creating a photo holding a QR code to receive super cute lucky money for Tet

Instructions for creating a photo holding a QR code to receive super cute lucky money for Tet

February 14, 2026
How to see the package Viettel is using to avoid losing money unfairly

How to see the package Viettel is using to avoid losing money unfairly

February 14, 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

7 other features of USB you may not know

7 other features of USB you may not know

February 14, 2026
Instructions for creating a photo holding a QR code to receive super cute lucky money for Tet

Instructions for creating a photo holding a QR code to receive super cute lucky money for Tet

February 14, 2026
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

https://sun52.network

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

https://sun52.network

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