How to stop projectiles from colliding with a node that shoots them?
My enemies are running into their own bullets and are taking damage from them. Which looks silly, but it's obviously not what i want
In this archive from Jul 2023 to Dec 2026
My enemies are running into their own bullets and are taking damage from them. Which looks silly, but it's obviously not what i want
AI seems to be the best tool if you just want to have some quick transition effect.
When i call it like that my menu spawns somewhere in the corner and is useless. Calling GetViewport().AddChild() solves this issue, but now my menu scene is a child of something else. This breaks my "Root node+current screen" architecture
Like for example all scenes that are meant to be instantiated on runtime implement my IRuntime<TData> interface. It just gives them a "constructor" that would allow to pass additional data during creation.
After some initial setup AStarGrid2D should be generating a Vector2i[ ] which is the array of points between X and our target. How to make it usefull and tell my enemy to move according to it?
Lets say that node `Foo` has component `HealthComponent`. Some other node wants to know how much health `Foo` has. Should it talk to exposed field or directly to a component under `Foo`?
For example i want to have both player and enemy to emit particles and play sound after they are defeated. I want to implement it once and then attach to every node that needs to do such thing
Despite not being as closely integrated into the engine, C# offers several benefits such as: - strong type system - namespaces - massive ecosystem - error handling - being well known in gamedev industry
I can't just add labels to a grid, since it scales horribly. Opening a small 1kb file and creating a label for each byte would create 1000 of them. Maybe i can write a custom node?


For those unfamiliar, Result<> is a handy enum which can either contain a desired return value or some kind of error type. It works especially well inside match statements. Gdscript obviously doesn't allow typed enums, so i have to find a workaround
While trying to reverse engineer my own program i discovered that it contained warnings from the compiler and human-readable C++ code enclosed with conditional compilation statements. I don't know why it's inside, since such code would be either compiled or discarded by the preprocesor. It's worth m...

Don't get me wrong, GDScript is fine. I'm curious mostly because Lua was designed to be ran inside bigger C++ applications (like game engines) as a scripting language
It's almost a time to publish very first playable version of my game. I want to make executables for both Windows and Linux
My scene tree is very messy. I have separate CanvasLayersfor HUD, level transition and death animation. I have an idea of creating one master node and keeping those UI's as its children. Then spawning or disposing them on command
I need to create bootable usb for my cybersecurity class, but as far as i know Rufus is a Windows-only application. I would prefer something with GUI, so i won't accidentally nuke my hard drive
The light masks and occluders are set properly. Maybe it will start working if i move background tiles to ther own layer?
Let's say that i have animated UI that displays level name and its number. The only thing that changes are those two text labels. Should i use scenes or class_name nodes?
I usually just pick whatever colors i like and later shade them using white and black with very low alpha value.
It emits signal after touching colliders on my tilemap, but doesn't want to when player touches it. I have to make second hitbox using Area2D, but this solution is quite ugly
Oracle database is available either as windows executable or rpm package. Trying to convert rpm to deb with alien doesn't work at all, it just freezes to matter what i do
Unfortunately, i can't use other DMBS to write my project.
I want to render some text on screen of my monitor object, but this is harder than i thought.
When player moves their mouse cursor to the edge of screen camera is rotating left or right, like in Five nights at freddys. Right now i have hardcoded "boundaries" where game checks mouse position. It works, but isn't fool-proof.
Is it more important to have strong portfolio or a degree (bachelors/masters) in computer science or 3D modeling?
After exporting as .gltf Godot seems to be smart enough to detect materials from Blender. I don't know if this is a good aproach, since people in video game industry tend to bake everything into one big albedo, roughness, normal and other maps
Im thinking about either making each night a separate scene or making one "world" scene that would contain 3D map without any logic
I want to give my enemy nice fade out animation, but it doesn't want to work. Instead of slowly going from full alpha to zero it does it instantly. Sprite2D:modulate:a doesn't work
Is it possible to detect collision using only rigidbody2D or characterbody2D? Currently they handle physics, while Arena2D checks what bumps into my player. Having two separate hitboxes is weird. I remember that in Unity you could do both things using just one component
"Enemy" node is a child of "Spawner" node and i want to acess "Player" node to get its position get_node("../../Player").position works well, but is very ugly and error-prone
Unity refugee here. My 32/32 pixel art is tiny. In Unity this problem can be easily fixed by changing the pixels per unit value. I didn't found anything like that in Godot.
End of this list.
Back to top