• 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

Cách Đăng ký Nhận Code ChatGPT Business
Tips

Cách Đăng ký Nhận Code ChatGPT Business

November 2, 2026
Instructions for cleaning LG TV with Antigravity to help it run faster
Tips

Instructions for cleaning LG TV with Antigravity to help it run faster

October 30, 2026
Quét lỗ hổng bảo mật cho Vide Coding bằng Security Audit Skill
Tips

Quét lỗ hổng bảo mật cho Vide Coding bằng Security Audit Skill

October 27, 2026
Instructions for registering for OxionAI Pro for 1 year with many powerful AI models
Tips

Instructions for registering for OxionAI Pro for 1 year with many powerful AI models

October 24, 2026
How are Windows 11 Pro and Windows 10 Pro different?
Tips

How are Windows 11 Pro and Windows 10 Pro different?

October 23, 2026
Instructions for using CleanYourTV: Remove ads on Android TV, Google TV
Tips

Instructions for using CleanYourTV: Remove ads on Android TV, Google TV

October 23, 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

Recent News

HuiPai AI Pro Camera: App that automatically aligns photo angles for free on iPhone

HuiPai AI Pro Camera: App that automatically aligns photo angles for free on iPhone

November 7, 2026
Instructions on how to buy super bargain 1k Bach Hoa Xanh products

Instructions on how to buy super bargain 1k Bach Hoa Xanh products

November 6, 2026
Besides the 7500 mAh battery and 6.9 inch screen, what else does the POCO C95 Pro 4G have to make it a secondary device worth buying?

Besides the 7500 mAh battery and 6.9 inch screen, what else does the POCO C95 Pro 4G have to make it a secondary device worth buying?

November 5, 2026
App fixes printer errors automatically, effective immediately with 1 click

App fixes printer errors automatically, effective immediately with 1 click

November 5, 2026
HuiPai AI Pro Camera: App that automatically aligns photo angles for free on iPhone

HuiPai AI Pro Camera: App that automatically aligns photo angles for free on iPhone

November 7, 2026
Instructions on how to buy super bargain 1k Bach Hoa Xanh products

Instructions on how to buy super bargain 1k Bach Hoa Xanh products

November 6, 2026
Besides the 7500 mAh battery and 6.9 inch screen, what else does the POCO C95 Pro 4G have to make it a secondary device worth buying?

Besides the 7500 mAh battery and 6.9 inch screen, what else does the POCO C95 Pro 4G have to make it a secondary device worth buying?

November 5, 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

HuiPai AI Pro Camera: App that automatically aligns photo angles for free on iPhone

HuiPai AI Pro Camera: App that automatically aligns photo angles for free on iPhone

November 7, 2026
Instructions on how to buy super bargain 1k Bach Hoa Xanh products

Instructions on how to buy super bargain 1k Bach Hoa Xanh products

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

say88 tỷ lệ kèo nhà cái kèo nhà cái 5 febet

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

say88 tỷ lệ kèo nhà cái kèo nhà cái 5 febet

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