Hello, I want to know how i can use a tilemap to goint to create, because i find a demo project in the "Librery assets", and it use a tilemap to create the enemies. I dont like when I need add the coins be "node", because the tilemap is more organized and don't use as much space.

Honestly, you could just make a Node2D as a "container" for your coins that way it doesn't drive you bonkers. Then just add all the coins as children of that node. I usually do this when I want to organize my scene tree, say with separate planes for foreground and background, so I can collapse it when I want to focus on my player object or something else. That's one way.

What project is this? Do you have a link? The method to add a coin may be easier than you think but it depends on coding. Does the object queue_free when you touch it or is there code in the player to take care of it? I usually add enemies as separate objects so I can remove them from the scene when they are "defeated" and save on processing.

    SnapCracklins 1- I agree, I just put a coin and I imagine all those nodes
    2- The proyect name is Candy Wrapper, you can find the proyect in "Asset Library Projects" in the same Godot

    You can put your Coin as part of a TileMap. Here's how:

    There are a few things to keep in mind if you decide to do that (I also use it in my project), for example you can't (at least not in 4.1) do things like owner.add_child but have to use add_sibling instead and similar… but overall it's pretty straightforward.

      8 days later