CodeX

Everything connected with Tech & Code. Follow to join our 1M+ monthly readers

Member-only story

The power of Godot 4’s 2D Tilemaps!

Let’s see how to easily create 2D levels thanks to tilesets and tilemaps :)

Mina Pêcheux
CodeX
Published in
10 min readSep 19, 2023

--

Ever wished you could draw a 2D level just by the click of your mouse, and auto-turn it into a terrain for your 2D little avatars to walk on it? That’s actually fairly easy to do thanks to tilemaps!

By the end of this tutorial, you’ll know how to import, setup and use tilemaps in Godot to quickly create sprite-based 2D levels, with both visuals and collisions.

As usual, don’t forget that you can get the demo scene and all the assets from this demo on my Github 🚀 with all my other Godot tutorials.

The tutorial is also available as a video — text version is below:

And with that said, let’s dive in and explore 2D tilesets and tilemaps in Godot!

How to import a 2D TileSet

--

--

CodeX
CodeX

Published in CodeX

Everything connected with Tech & Code. Follow to join our 1M+ monthly readers

Mina Pêcheux
Mina Pêcheux

Written by Mina Pêcheux

I’m a freelance full-stack web & game developer. I’m passionate about topics like CGI, music, data science and more! Find me at: https://minapecheux.com :)

No responses yet