Forum.godotengine.org

How to load and save things with Godot: a complete tutorial about

WebSummary. Godot can load and save from and to many formats. It includes some tools to load and save from JSON and INI style files. You can also load and save …

Actived: 6 days ago

URL: https://forum.godotengine.org/t/how-to-load-and-save-things-with-godot-a-complete-tutorial-about-serialization/44515

Using classes to implement a flexible damage and health system

WebGodot Version. v4.2.1.stable.official [b09f793f5] Question. Hi! I’ve been following some guides (this, and it’s sequel mainly) in an attempt to use classes to …

Category:  Health Go Health

Understanding RPC implementation in a turn-based multiplayer …

WebGodot Version v4.2.1.stable.official [b09f793f5] Question A bit of a long read, but I think context is necessary for my questions. Still learning multiplayer… Please bear with me. 😃 …

Category:  Health Go Health

What do I need to do to make a health "component" in Godot

WebIt’s exposing the component of the concrete node type that. will compose the Health component. What I mean, Health component must have a clear interface of what …

Category:  Health Go Health

How to make health bar with texture progress bar

Web:information_source: Attention Topic was automatically imported from the old Question2Answer platform. :bust_in_silhouette: Asked By amaou310 Hello godot …

Category:  Health Go Health

How can I create dynamic health bars

WebGodot Version 4.2.2 Question I’m trying to make segmented health bars kind of like in Overwatch and The Finals. I currently have a stretched out Godot icon.svg …

Category:  Health Go Health

Problems Animating Rolling HP / Odometer (à la Earthbound/M3)

Webℹ Attention Topic was automatically imported from the old Question2Answer platform. 👤 Asked By blue, blue I’m new to Godot, and programming in general, but I …

Category:  Health Go Health

How do you code Health bars

Webℹ Attention Topic was automatically imported from the old Question2Answer platform. 👤 Asked By Chumwadsprite I’ve been having trouble on how to code health …

Category:  Health Go Health

How to toggle fullscreen from code

WebAs of Godot 3.0, you can just set OS.window_fullscreen to true in any script to enable fullscreen – no need to deal with the project settings manually. It will behave …

Category:  Health Go Health

how do i make a number variable into text

WebA label node has a text property that controls what text it displays. The str() function is a global function that converts anything into a string. You will need it to …

Category:  Health Go Health

godot 4 setter with connect()

WebHello, thank you for the solution, I modified it a bit to not have 2 functions, clamp(val, 0, max_hearts) can be moved directly in the health’s setter (instead of …

Category:  Health Go Health

ProgressBar not updating

Web1: Yes, I tested and the code is being executed. 2: Yes, when the code was run I included print (healthBar.name), which responded correctly. 3: The value of health …

Category:  Health Go Health

Enemy script, increase bullet collision count

WebThis is the enemy script, where the enemy dies after single collision with a bullet object. It only has two states, default and STATE_DYING. But I need an …

Category:  Health Go Health

[Godot 4] Modular 2D Platformer Movement

WebHere is my tutorial on making a modular player character for a 2D platformer in Godot 4. I’m seeing lots of people struggling to keep it simple and putting all their …

Category:  Health Go Health

how to "invalid get index "global_position"(on base:"previously …

WebThis happens because you are litterally destroying the player node, and you still try to access its global_position later. Accessing a destroyed node will cause your …

Category:  Health Go Health

Converting an Int to string still wont let me set it to a label text

WebAlright i think i have a (temporary) solution, so using an onready var just doesn’t do anything, not even an error/warning. using a var errors because it cant find it. …

Category:  Health Go Health

How do I fix the 'Invalid get index' error

Webℹ Attention Topic was automatically imported from the old Question2Answer platform. 👤 Asked By redteller I’ve got a saving system for my settings working and tried to …

Category:  Health Go Health

clamped() doesn't work (godot 4.0)

WebThe godot editor has a built-in documentation. You can Ctrl+Click on a type (Vector2 in this case) and see it’s entire description. It says it doesn’t have a clamped() …

Category:  Health Go Health

Difficulty to resize my HUD (CanvasLayer) according to the screen …

WebYou don’t have to use a script to scale around in order to keep up with the game resulotion when it’s changed. Go to Project Settings - Display - Window - Stretch. …

Category:  Health Go Health