1,146 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
416
views
How to fix "Invalid access to property or key" (Gdscript 4.5.1)
Trying to write the camera movement for a 3d character, it's my first project. Just a basic psx shooter. so i wanted to make the camera followed along with the cursor.
I can't seem to fix the error ...
Best practices
1
vote
1
replies
58
views
How do I detect collision with control node in Godot?
my card scene tree
I want to make a card game where player can stack cards on top of each other (like Solitaire or Stacklands). I have a control node as the root node and Sprite2D as the child node. ...
0
votes
0
answers
30
views
Player Physics are not functioning
I'm new to Godot and following Brackey's Tutorial on how to get started. After I finished it, I started editing it and adding new tutorials. Today, halfway through editing the coin script, my player ...
0
votes
0
answers
82
views
Godot not printing to output console. Fresh install of godot 4.5x
In godot, I couldn't print to output panel. Everything seems to be okay, I made a root node called Main and attached main.gd script with
extends Node
const packets := preload("res://packets.gd&...
1
vote
0
answers
57
views
Why doesn't my GD script with autoloads post its variables?
When I use (Morton.morton_statetest) in another script, It gives me 0, and even if I put a print in Morton script and If I put an print in the other script, it gives me two values different, wit out ...
0
votes
1
answer
113
views
How do I add more enemies in my Godot project?
I'm working on my school project about my first top down shooting game. Anyway after I did my project by following a tutorial from youtube I desire to add more enemies. But I've no idea how to do it?
...
0
votes
0
answers
79
views
RenderingServer cannot access global shader params
in Godot 4.4.1 I'm trying to access shader variables in code to do some math for my game. However, Even though I have set these shader parameters in global/shaders in project settings they don't show....
1
vote
0
answers
87
views
Type hint for a class type in Godot / GD Script
I'm trying to check if an object adheres to certain restrictions by checking its type against a given check_type variable. This variable is set dynamically, so I cannot check against a fixed class ...
0
votes
1
answer
97
views
Query Firestore from Godot
I am trying to link my Firebase and Godot for my current project. I want to have a system for finding friends and adding them to your friends list. I have the usernames saved on Firebase, and now I ...
1
vote
2
answers
73
views
Issues with sequential cooldown
I've been attempting to make a system in which you can use an ability with 3 charges. Once you use one, Only that one will recharge, When you use another, The recharge progress from the first will go ...
1
vote
1
answer
119
views
Why does comparing array.size() with a const return an Object, not a bool?
So I’m running into an issue while implementing an ‘undo’ mechanic in Godot Engine v4.4.1 using GDScript. I’m trying to limit the size of the undo queue, and cut off the end once it exceeds the limit.
...
0
votes
1
answer
183
views
Godot 4.4 get_tree().change_scene_to_file("res://scene.tscn") Not Switching to the Intended Scene
I don't know why this isn't working because after looking at the GDScript documentation, and even other posts on stack overflow, I still can't get the scene to show up at run time.
extends Control
#...
0
votes
1
answer
98
views
How am I supposed to be managing instances so that I don't affect old instances of the same scene
What is supposed to happen:
5 blocks should be created above the screen and scroll down the screen at a the same speed.
Every 5 seconds, a new set should be loaded in the same place that the original ...
3
votes
1
answer
160
views
Instancing in Godot
How big is the difference between instancing a scene with c# compared to GDScript? I noticed on the docs that it does say that when instancing a scene "Preloading the scene can improve the user's ...
0
votes
3
answers
126
views
Dynamically update CollisionPolygon2D at runtime? [closed]
I have a stacked area chart like the supplied image (but often slightly more complex).
Each polygon doesn't have all too many points and renders efficiently.
This chart often updates with a tween ...