Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 10408

Godot is a 2D and 3D open source game engine developed by the Godot Engine community. It features a built-in development environment which runs on Windows, macOS and Linux and can create games targeting PC, mobile and web platforms.

0 votes

Setting up AI Pathing in Godot 4.3, NPC not moving but it is updating the pathing correctly

on_velocity_computed(safe_velocity:Vector2) -> void: main.velocity = main.velocity.move_toward(safe_velocity, .25) main.move_and_slide() To be clear, you do not pass the velocity to move_and_slide in Godot … 4.x (you did that in Godot 3.x, make sure you are looking at updated tutorials/documentation). …
Theraot's user avatar
  • 27.5k
1 vote

How to prevent Sprite3D from clipping into nearby objects?

I have no idea how your movement works. For example, how are you preventing the Sprite3D to go through the obstacle? Presumably you can add a radius to that logc. For example, if you are using a rayca …
Theraot's user avatar
  • 27.5k
2 votes

Cannot figure out how to properly align content with resizing window

Make UI the root. The structure you have: (A) Node2D (B) Camera2D (C) Control Is telling me that the Control (C) will be centered on the screen (i.e. centered on the Camera2D (B)), which is fo …
Theraot's user avatar
  • 27.5k
4 votes
Accepted

Theme lookup in Godot 4.2

These are, indeed, different. First of all, your Control might not have a Theme, and thus the line: print(theme.get_font_size("normal_font_size", "RichTextLabel")) Is an error (trying to call a meth …
Theraot's user avatar
  • 27.5k
1 vote
Accepted

How to get around mouse entry signal stopping at first collision?

Set input_ray_pickable to false on the physic bodies or areas that you do not want to take mouse input.
Theraot's user avatar
  • 27.5k
4 votes
Accepted

Efficient storing of tabular user generated data in Godot

Note: Godot int is 64 bits. They both have a to_byte_array method to convert to PackedByteArray, and you can convert back with either to_int32_array or to_int64_array. … Once you have a PackedByteArray you can opt to compress it with compress, Godot gives you a few algorithms you can choose by passing the optional compression_mode paramter to compress including GZIP and …
Theraot's user avatar
  • 27.5k
3 votes

Godot: Spawn an object in 3D

This is your PackedScene: const FlareScene := preload("res://flare.tscn") You instance it like this: var flare_instance := FlareScene.instantiate() You add it to the scene tree as a child of the pla …
Theraot's user avatar
  • 27.5k
1 vote
Accepted

How to structure my composite (player) object?

Since Godot will be replacing the script you set in the scene with the one you set where you instance it... … Solutions to that problem include: Exporting a Node※ (Godot will keep it updated as you move nodes inside the scene). …
Theraot's user avatar
  • 27.5k
1 vote

How to pause player motion during an air attack animation in Godot 4?

Assuming your player character is a CharacterBody2D, you are in charge of moving it. For example, you might be adding gravity to the velocity, something like this would suffice: velocity += gravity * …
Theraot's user avatar
  • 27.5k
0 votes

How do i get key input using c#

And what Godot is doing is matching the input it gets to the stored ones. … There have been some bugs around these in Godot 4+ (either not doing anything or input getting stuck), so test if ParseInputEvent works better than ActionPress and ActionRelease on your version. …
Theraot's user avatar
  • 27.5k
4 votes
Accepted

What is the correct way to stop a Godot dedicated server

I'll try to do that for Godot... We will implement a custom MainLoop. … If you can make a minimum reproduction project, please report at https://github.com/godotengine/godot/issues …
Theraot's user avatar
  • 27.5k
1 vote
Accepted

Add Item for OptionsButton is Gone from the editor

This option is currently (Godot 4) on the inspector. …
Theraot's user avatar
  • 27.5k
1 vote

I've hit the limit of what ChatGPT can teach me about game development in GDScript — what st...

Since we are talking about Godot, I want to point out that there is a short curated list of tutorials on the official documentation: Tutorials and resources. …
Theraot's user avatar
  • 27.5k
0 votes
Accepted

Issue with AttackArea Monitoring Before Attack in Godot 2D Game

It is a quirk of Godot that physics object can interact when they enter the scene tree. To prevent that you need to set monitoring to false even before that. …
Theraot's user avatar
  • 27.5k
4 votes
Accepted

Checking if a node is of a given type in Godot 4

Preload the script into a constant: const door_type = preload("res://objects/door.gd") Then is should work.
Theraot's user avatar
  • 27.5k

1
2 3 4 5
12
15 30 50 per page