Snap problem - BUG?

TheMnkTheMnk Posts: 39Member

Hi, I'm new to Godot, I'm doing the Dodge the creeps game.

I have observed this strange behavior in the anchor.
Sometimes incorrect anchors occur, they are not consistent with the size of the cells.
In this gif you can see that the lower and the left anchor do not adapt to the size of the cells.

tscn archive
https://www.dropbox.com/s/h2igmln3smgeu5l/HUD.tscn?dl=0

Answers

  • MegalomaniakMegalomaniak Posts: 2,603Admin
    edited September 2019

    You have a button in that scene, the message label can snap to the buttons margins too, not just the grid. Try turning off the smart snapping options in the snap menu's submenu.

    edit: specifically Snap menu > Smart snapping > Snap to other nodes.

  • TheMnkTheMnk Posts: 39Member

    @Megalomaniak said:
    You have a button in that scene, the message label can snap to the buttons margins too, not just the grid. Try turning off the smart snapping options in the snap menu's submenu.

    edit: specifically Snap menu > Smart snapping > Snap to other nodes.

    Thank you.
    I solved it, although I don't know very well how I did it.
    I disabled the "Snap to other nodes" option but that didn't solve it.
    Then I was experimenting with the other options ... I couldn't make it clear what was causing that behavior but, for some reason, it doesn't happen now.

  • MegalomaniakMegalomaniak Posts: 2,603Admin

    Well, with your scene that was what solved it for me.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file