Relative Content

Tag Archive for godotgodot4godot3

Godot: How can I size a button inside a HBox Or Margin Container

New to Godot. I’m used to programming for Android (XML). When I add a button in Godot, and place it inside a Margin Container or VBox, there doesn’t appear to be a way to control the button’s size (width or height). Nor is there a way I can see to add button padding like you can in XML.

How do I proparly set up a hud in godot 3.5?

I am in the process of making a 2d runner game in Godot. I am a beginner and I am struggling with setting up the HUD properly. The image below shows my level 1 progress and the points add up correctly when the coin and pies are eaten. The hud is a node/canvaslayer tscn that is autoloaded to all pages, and thats exactly the problem.