Use the TileMap to Make Incredible Maps & Levels for your Godot Games

Поділитися
Вставка
  • Опубліковано 15 жов 2024
  • Maps and Levels are super important your any successful game, It might be one of the most important parts of your game. In this video I wanted to go over how to use the Godot 4 tilemap system and a couple tips and tricks to create a good map.
    link to art: devworm.itch.i...
    link to series playlist: • How to Make Survival G...
    ----------------------------------------------------------
    Thank you so much for watching I really hope this video helped.
    if you did enjoy or this video was helpful then all i ask is if you could please go and click that subscribe button to help out the channel. It means so much and I love your feedback in the comments. If you are having any issues with the code talked about in the video then please let me know in the comments and I will be for sure to get back to you soon. Again thanks so much and I would love to see you again!
    have a great rest of you day and of course be safe :)
    thanks DevWorm,
    ----------------------------------------------------------

КОМЕНТАРІ • 104

  • @Parasnailor
    @Parasnailor Рік тому +49

    When painting tiles, you can select multiple tiles and enable scatter (the lil dice icon) to place a random tile from your selection

  • @jackiewatkins1830
    @jackiewatkins1830 10 місяців тому +2

    Im just now coming to realize how powerful the tilemap editor is in Godot...Whoa kinda blows me away with the lighing you can add and everything...Really great stuff, good work..

  • @RandomGuyOnDaFreakingNet
    @RandomGuyOnDaFreakingNet Рік тому +14

    YES FINALLY THANKS! this is the only godot series I was able to understand and I was so impatient for episode 2

  • @dev-worm
    @dev-worm  Рік тому +9

    This is Episode 2 of the Survival Series.
    Complete Survival Series Playlist: ua-cam.com/play/PL3cGrGHvkwn2NOT1LSwf5d2XZmlc5Bjsn.html
    Hope this series helps!

  • @Mark-yy2ki
    @Mark-yy2ki 3 місяці тому

    That was a really enjoyable episode to watch and follow along. I really appreciated the explanation and examples of other games at the start.

  • @Moohasha1
    @Moohasha1 Рік тому +1

    Enjoying this series. Looking forward to the rest of it.

  • @BobbleCube
    @BobbleCube 11 місяців тому +2

    You're like a wise sensei, teaching us the way of the samurai

  • @arthurwiebusch9292
    @arthurwiebusch9292 9 місяців тому +1

    awesome video dude, i'm learning so much!

    • @dev-worm
      @dev-worm  9 місяців тому

      happy to hear that!! if you ever need anything then please let me know!

  • @fitzi
    @fitzi 3 місяці тому +1

    I recommend you to setup terrains, so you don't have to place each tile individually (and try out 5 different tiles until you find the correct corner piece)
    Also naming your layers something more meaningful than 1, 2 and 3 will help you tremendously in the long run or if you work together with someone else (no one remenbers to place trees in layer 3. Just call the layer "trees").

    • @Not_TVs_Frank
      @Not_TVs_Frank 2 місяці тому

      Yes! Just as variables in code need good names, other resources need good labels. "ground", "elevation", "top", "clouds", etc will be meaningful to you in a month, but 1, 2, 3 will not. And if somebody else works on the project, they'll thank you.

  • @Jivian2024
    @Jivian2024 Рік тому +2

    Yay part 2 thanks for doing this

  • @Symbiote2.0
    @Symbiote2.0 Рік тому +1

    Keep the videos coming Dev! 🙌

  • @TrinityDubstep
    @TrinityDubstep 11 місяців тому

    i can finally understand a godot video, and the result is so professional thank you so much

    • @dev-worm
      @dev-worm  11 місяців тому

      so happy to hear that!

  • @4dragons632
    @4dragons632 Рік тому

    I just made my first map in godot recently, and I'm making a level transition to make a second this weekend, I couldnt figure out placing trees as tiles so I'm placing them as nodes. It makes for an awful lot of nodes. Right now I'm happy with a game that executes at all, I dont care if its badly optimised. But still this is good to know, and I look forwards to more tips in future!

  • @HippocritterXD
    @HippocritterXD Рік тому +4

    HELL YEAH! IT'S LEARNING TIME!!!

    • @dev-worm
      @dev-worm  Рік тому +3

      its always learning time! Hope it helped!

    • @HippocritterXD
      @HippocritterXD Рік тому +1

      @@dev-worm it did, again thank you for donating your own time to teach us noobies. Can't wait to apply all I learn from you and create something of my own. I can't wait for the next episode.

  • @antonse78963
    @antonse78963 11 місяців тому +2

    Is there a reason you don't use the terrain set feature?
    It would speed up your mapmaking a lot!
    You make great videos btw

  • @cooperthedoggo
    @cooperthedoggo 2 місяці тому +1

    This is exactly what I was looking for! Thanks!

    • @dev-worm
      @dev-worm  2 місяці тому +1

      happy to hear!! thank you!!

    • @cooperthedoggo
      @cooperthedoggo Місяць тому

      @@dev-worm No thank you your the best!

  • @edwinmonge9155
    @edwinmonge9155 Рік тому

    Thanks to channels like yours, godot is what it is.

  • @Graylegs
    @Graylegs 11 місяців тому

    So awesome. Thank you for this series!

  • @MH-lr6ue
    @MH-lr6ue 7 місяців тому

    Thanks for showing how to layer tilemaps that was awesome. Also happy to know I dont need multiple cameras in a scene if I have a camera attached to my player.

    • @dev-worm
      @dev-worm  7 місяців тому

      so happy to see you moving through the tutorials!! hope everything is helping!

  • @akhilkg4947
    @akhilkg4947 11 місяців тому

    thanks for the video! I'm trying to find wher you implement collisions next but couldn't find it in the next episodes which seem to be focused on collectables, ranged attacks, etc. Will that be a separate episode?

  • @HippocritterXD
    @HippocritterXD Рік тому

    Another great tutorial, can't wait for the next ep.

    • @dev-worm
      @dev-worm  Рік тому +1

      uploading the rest of the episodes every other day!

  • @benofficiall
    @benofficiall 4 місяці тому +1

    If you need to find the tile you've placed earlier you can use pipette tool to pick it from the map.

  • @mayedalshamsi
    @mayedalshamsi 7 місяців тому

    Awesome guide! :)
    Can you put the entire game's map in one scene, to make it more of an open world sort of game? Or will that lead to performance issues?

    • @dev-worm
      @dev-worm  7 місяців тому +1

      yes you completely can! Later down the road when your game is huge then you may see performance issues and that is when you would have to implement chunk rendering like you see in Minecraft. But for the most part and especially with 2d low energy games then i wouldn't worry about it too much

    • @mayedalshamsi
      @mayedalshamsi 7 місяців тому

      @@dev-worm - Thank you. I've been wanting to create a game for years now, and if not for awesome guide creators such as yourself, I wouldn't have even known where to start. Please don't stop. 😇

  • @omashune5546
    @omashune5546 Рік тому

    Yoo, thanks for another awesome tutorial 😍

  • @fatmike5038
    @fatmike5038 Рік тому

    that map looks great awesome job. has a very 80's zelda deal but actually a lot better

  • @randywilliams6248
    @randywilliams6248 6 місяців тому

    Do you have any videos on adding lights to a 2d scene or emissive effects to sprites? Like a bon fire but it's light effects the surrounding sprites?
    Also, I'd love a tutorial with basically this same game world set up, but equipable armor. I would assume it would basically be a layered character with swappable sprites you'd call from an array if said item has been found? Maybe something to consider with this series or the RPG one. I know I'd appreciate it, would love to show my project to you down the road

  • @zen-kan3851
    @zen-kan3851 5 місяців тому +1

    HI devWorm, its an amazing map you did, and I was learning from your steps, but still I have an issue with tileset since they keep telling me that ( This tilemap's tileset has no source of configuration, go to tileset bottom and add one ) I do add one but it does never let me add any tiles and still shows me the message. do you have any Idea how to fix it ?

    • @dev-worm
      @dev-worm  5 місяців тому +2

      hm not sure.. are you in the "tileset" tab at the bottom or the "tilemap" tab?

  • @Jomalequi
    @Jomalequi 11 місяців тому +1

    can't tiles be sorted automatically per layer?
    I mean if I have layer ground and layer structures, can't I chose that certain tile only belongs to structure layer to not changing it manually?

  • @Francis_vca
    @Francis_vca Рік тому

    hey man, keep the good stuff up! Could you do an quick tutorial for making ranged enemy and player attacks? Most of the ones i find here are outdated :(

    • @jeremiahaemile2008
      @jeremiahaemile2008 Рік тому

      He has already made one for Godot 4 in series called rpg game step by step

  • @estebanmelo6804
    @estebanmelo6804 10 місяців тому

    Very helpuf, thanks!

  • @qmerk2661
    @qmerk2661 11 місяців тому

    great video. i have a question. my tile map doesnt look as vibrant as my character . is it the same for you and the video just looks nicer, or did i miss something?

  • @CHIKUS0
    @CHIKUS0 Місяць тому

    Hi DevWorm, Are the assets used in this tutorial under the creative commons license?

    • @dev-worm
      @dev-worm  Місяць тому +1

      they should be free and safe to use for commercial or personal projects unless it was changed sense i uploaded this tutorial!

    • @CHIKUS0
      @CHIKUS0 16 днів тому

      ​ @dev-worm Where can I check that it hasn't changed? Thanks

  • @enriquemoreno5132
    @enriquemoreno5132 Рік тому +1

    Question, I'm a digital artists, and I'm creating a game which is not pixel art. Do I still have to use somehow a tilemap for the ground? Or can I just design my map a put it in a sprite2D with the sorting Y active?

    • @dev-worm
      @dev-worm  Рік тому +1

      yes.. but the items you want to ysort have to be their own seperate node and cant be part of the main map.

    • @enriquemoreno5132
      @enriquemoreno5132 Рік тому

      @@dev-worm Thanks for the answer! can't wait for the day/night cycle video! (:

  • @talontochallangerotp
    @talontochallangerotp 10 місяців тому +3

    When i create a map and press play the character just spawns in a grey space, i cant see the map. Anyone knows what i forgot to do?

    • @Dragonlord-ep4eg
      @Dragonlord-ep4eg 9 місяців тому +1

      You’ve gotta change your main scene in settings I believe that should fix it

    • @Dragonlord-ep4eg
      @Dragonlord-ep4eg 9 місяців тому

      Do this by going project-project settings-application- run

  • @Ümitcan_Uygun06
    @Ümitcan_Uygun06 9 місяців тому

    you are amazing bro

    • @dev-worm
      @dev-worm  9 місяців тому

      thank you so much brother!! thanks for becoming a member as well it means the world to me!

  • @jamescarloroa3538
    @jamescarloroa3538 5 місяців тому +1

    Hi i would like to ask why my tilemaps dont show and my character always on the edge when i do the first tutorial it works but after i create a map it got a problem

    • @OceanPulsew
      @OceanPulsew 4 місяці тому

      thats bcs you saved your game log on the wrong place. to fix it go to project >project settings > applications > run and then "main scene" and you change to the one you saved your world in

  • @AlbertodeVictoria
    @AlbertodeVictoria Рік тому

    Great tutorial

  • @lunariansmith2417
    @lunariansmith2417 5 місяців тому

    Umm I'm curious that is it anyway to block player not to walk cross the screen or tilemap that we already placed?

    • @Not_TVs_Frank
      @Not_TVs_Frank 2 місяці тому +1

      You can set up physics layers so that tiles have solid areas and your character2d node has a collision area too. Then when you move the character around, it stops when there is a collision. Look for a video called Godot 4 Crash Course for Beginners - it shows how to do this and lots of other great stuff.

  • @jaumesinglavalls5486
    @jaumesinglavalls5486 7 місяців тому

    Why not use the autotiler? some random stuff can be done with it, and also, for creating lakes, rivers, and all this stuff (at least the basic one) will make it easy/fast.

    • @CalamityIDK
      @CalamityIDK 6 місяців тому

      How would kne do that

    • @jaumesinglavalls5486
      @jaumesinglavalls5486 6 місяців тому

      @@CalamityIDK It's easy, you need to configure every tile with a specific terrain, and after, you can paint like you are in paint or similar tools, and the tiles magically are selected (correctly if you configure the tiles correctly) It's a little bit of work, but worth the effort, you can take a look at some youtube videos, there is a good amount of them.

  • @instantlydrop5364
    @instantlydrop5364 11 місяців тому

    thank, its realy good

    • @dev-worm
      @dev-worm  11 місяців тому +1

      of course, anytime! Thanks for watching!

  • @alessiopiazzini1812
    @alessiopiazzini1812 2 місяці тому

    There is a limit on the dimension of the map?

  • @Zahardnik3
    @Zahardnik3 8 місяців тому

    Thanks!

    • @dev-worm
      @dev-worm  8 місяців тому

      thank you so incredibly much!

  • @Jclothus
    @Jclothus 11 місяців тому

    Can I make this same game without tilemap? Is there any difference using it or not?

    • @Jclothus
      @Jclothus 11 місяців тому

      Every tutorial that i see use tilemap and i'm kinda confused. What if I want to draw all the map or spawn random trees or build without alignment?

  • @infinity6010
    @infinity6010 Рік тому

    dev worm do you think you will do 3d videos

    • @dev-worm
      @dev-worm  Рік тому

      im looking into 3d right now

  • @MohammedEssamSaleh
    @MohammedEssamSaleh Рік тому

    Hello, can you explain how to move from one scene to another by entering doors in Godot 4?

    • @dev-worm
      @dev-worm  Рік тому +1

      that will come later in the series!

  • @angeljaguargames684
    @angeljaguargames684 Рік тому

    Could you show us how to make a floating jump like princess peach?

  • @fb_editss
    @fb_editss Місяць тому +1

    The current version of Godot has a different warning sign, please I need a new video

    • @dev-worm
      @dev-worm  Місяць тому

      working on a new one right now!!

    • @fb_editss
      @fb_editss Місяць тому

      @@dev-worm ok thanks

  • @SereneSongsmith
    @SereneSongsmith 2 місяці тому

    Not sure what I am doing wrong, but I have deleted and recreated the Tilemap node about 15 times now, and no matter what I do... it doesn't f*cking work. I get to the point where I select the "tilemap" tab at the bottom of the window, and I select a tile to "paint" with, and it simply just does not paint the tile in the world map with the tile I have selected from the tilemap tab. It just leaves the world map with the blank background color it was before. Not sure if GODOT changed this feature or I am doing something completely stupid, but it's not working for me at all.

    • @SereneSongsmith
      @SereneSongsmith 2 місяці тому

      Did some searching around - other people were having this issue as well. Seems to be a bug in GODOT. If you close the program and restart it, it magically works again. *eyeroll* 15 times of rebuilding the same stupid thing because I thought I was doing something wrong.

  • @Deglychi
    @Deglychi 11 місяців тому

    my character started walking backwards whenever i press a or d after i got the camera working

  • @jeremiahaemile2008
    @jeremiahaemile2008 Рік тому

    ❤❤❤

  • @jeremiahaemile2008
    @jeremiahaemile2008 Рік тому

    Dev
    Don't forget to put link of playlist

    • @dev-worm
      @dev-worm  Рік тому

      just did so! thanks for the reminder!

  • @sethchristy3900
    @sethchristy3900 9 місяців тому

    i cant place tiles, it just stretches the grid

  • @erkling5865
    @erkling5865 Рік тому

    but how can you do it to be procedural ?

  • @e-music0214
    @e-music0214 Рік тому +2

    Bro please make a project on 2d platformer game like Dan the man

    • @dev-worm
      @dev-worm  Рік тому +1

      i was thinking of doing that, so ill start on it soon!

    • @jeremiahaemile2008
      @jeremiahaemile2008 Рік тому

      ​@@dev-worm🥰😍🥰😍that I was waiting for

  • @Art_holics
    @Art_holics Рік тому

    please make more tutorialll

  • @S3R43o3
    @S3R43o3 Рік тому

    Hmmm Autotiling i missing dude ? Did you dont know ?

    • @dev-worm
      @dev-worm  Рік тому +1

      I personally think autotiling isnt very useful and is just confusing especially for new developers!

    • @S3R43o3
      @S3R43o3 Рік тому

      @@dev-worm Well okay for beginner its may a bit confusing BUT specially for RPG games or 2D in general its very very usefull.. like your sees that your drawn. I made a lot of 2D games and i dont want miss that feature =D
      but sure maybe you can explain it later. i personally would see a other sight/opinion of usage from other devs =P Ty for your awser =)

  • @HeathTheCoder
    @HeathTheCoder Рік тому +4

    First!

  • @voidling2632
    @voidling2632 5 місяців тому

    looks tedious, I would rather have made terrains and use them instead, it randomize automatically if you give two tiles the same bitmask. It also would remove the tileerrrors you have, like 10:04 where the corners are square.

  • @Darth_cam377
    @Darth_cam377 6 місяців тому

    Hey guys I made my person way to big can some help me

    • @dev-worm
      @dev-worm  6 місяців тому

      try scaling the character down with the scale properties in the inspector of the person!! try 0.5 for the x and 0.5 for the y and let me know how that looks!! If it needs to be smaller or bigger than adjust it accordingly!! hoping that helps!

    • @Darth_cam377
      @Darth_cam377 6 місяців тому

      @@dev-worm thank you hopefully it does I’ll reply when I get home to try

  • @zirathar
    @zirathar 2 місяці тому

    im from 2024😅

  • @BizarroHQ
    @BizarroHQ Рік тому

    hey mate where can I contact you? I would like to ask you for a project...

  • @scauldfire3498
    @scauldfire3498 6 місяців тому

    1776.2011533