Tomasz Chabora
Tomasz Chabora
With `@always_await` the `choice()` function in your example will show a warning. You don't need to await every single line. In fact, you don't need `await` at all here. Just...
Here's a simple class that achieves this: ```GDScript class_name ThreadWrapper extends Node var thread: Thread signal finished func _init(callable: Callable): thread = Thread.new() thread.start(callable) Engine.get_main_loop().root.add_child(self) func _process(delta: float) -> void:...
You are creating and connecting a timer on every timeout. If you want it to be really cheap, you can use a looped Tween instead. `Engine.get_main_loop().create_tween().set_loops().tween_callback(_timeout).set_delay(0.1)` (remember to kill it...
With this change, we have another node that pops a bottom panel every time you select it. There is a glitch when the panel opens. It resets the view, but...
The basic functionality still works and the code changes look fine overall. https://github.com/godotengine/godot/pull/99439#discussion_r1882871935 is the only major problem.
Needs rebase.
The ID change because you have ImageTexture embedded in your Theme. Trying to get Image of ImageTexture will always return a new instance (#25209), hence the IDs will change. We...
Save the Image as file instead of embeddimg it. From the inspector, not using script.
No, it's unrelated.
You can update the offset from the editor, it doesn't need to be done using the inspector.