Jetpack fuel show in label
I have a code to the main character and have a label detached to the camera2d which is the child of CharacterBody2d. I want to make the jetpack_fuel variable shown on the label that is also called jetpack_fuel :
Control.set_focus_neighbor ## How to get the correct node path to the target node?
I’ve got a list of nodes. Each node in the list should have the next one as it’s neighbor. Iterating is the easy part, I can handle it. I have problems with setting the neighbors in the code:
How can I define the type of a reusable scene node?
Godot’s type system is … odd. It sits somewhere between duck and static typing. I’ve tried reading the docs and doing experiments, but I cannot figure out how to make a scene which is both:
My character keeps moving on his own even without any keyboard input
https://imgur.com/EabxPcA
Why are tiles not being placed? (Godot)
I have a basic script, that should place two types of tiles one of them being a darker colored tile (id:4) and a lighter tile (id:0) there should be a small square of these lighter tiles, in the middle of all the darker tiles. Only the darker tiles are spawning.
Animation Not updating in Godot 4
I want to play fire on and off animation after a random period of time but for some reason the fire on animation does not play even though the print statement is working
How to get position of nodes(marker2d) in a gruop / GODOT 4.2.2
I would like to spawn “enemy” on the position of every marker2d. Those markers are in a group called “enemies”. I would like to know if its possible to spawn an “enemy” on every marker by just looking at the group.
Can’t get GridContainer’s child size
It worked once, but in a wrong place. I changed some container size flags, and now it’s been 3 hours since all went wrong(