Questions tagged [godot]
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.
653 questions
0
votes
0
answers
17
views
Can Godot's AnimationTree blend multiple skeletons using Animation Playback Tracks?
I have a setup in Godot with two different skeletons for male and female models. The skeletons are different because the proportions are different, but I want to use the same animations on both.
Both ...
0
votes
1
answer
162
views
Spawn enemy in empty space
I'm new to Godot and following a tutorial, which spawns enemies randomly. However, I'm trying to improve on this by checking that the enemies don't spawn on top of the player and cause an instant loss....
1
vote
3
answers
233
views
Enemy movement system on a 2D grid (Zelda-like)
I’m trying to implement a top-down Zelda-like enemy movement system. Consider a screen of x tiles wide by y tiles tall, each tile being 16x16 pixels.
I’m not asking for code here. I’m asking for ...
2
votes
1
answer
99
views
Why isn't my control anchored to the top left of the screen
I have this simple scene based on a Control Node and a few containers, note how the UI elements are anchored to the top left of the screen:
When I put it into another scene, it looks like this:
I ...
0
votes
0
answers
119
views
Can I reference resource UIDs in save files
In Godot 4.5 beta 6, I have a drag-and-drop situation where the data being moved between nodes is stored using instances of a custom resource.
The resource instance is added to a property called ...
1
vote
1
answer
290
views
Overriding property setter
In Godot 4.5 beta 5, I am trying to override the text setter on a Label node. Following the documentation, I did:
...
1
vote
1
answer
96
views
How to format a godot::String with an array parameter in a gdextension?
I'm writing a gdextension and trying to format a string using an array as one of the parameters.
Example:
...
0
votes
0
answers
62
views
Instantiated child scene does not rotate with the parent as pivot
Version 4.4
I am starting to learn Godot by creating a game in which my ‘Player’ scene is instantiating and adding a ‘Ball’ scene as its child on starting the game. I position the Ball at a distance ...
0
votes
0
answers
66
views
What am I missing to get my animation working
I use Godot 4.4 and gdscript. I have a 2D isometric character with hundreds of sprite sheets for different angles and weapon status. Its not feasible to do this in ...
0
votes
1
answer
255
views
How to correctly set up peering bits for terrain sets/autotiling?
I'm trying to set up autotiling for this tileset in Godot:
I set the peering bits like this:
However, when I try to place the terrain tiles, all I get is this mess:
What am I doing wrong?
3
votes
1
answer
206
views
Arc Slot Layout and Card Display Overlap
I'm struggling with a persistent problem in my Godot 4.4.1 project involving "power slots" arranged around a table or arena background. No matter how I structure my nodes and update my code, ...
2
votes
2
answers
140
views
Pseudo-3D Parallax Shifting
everyone. I am working on a game that relies pretty substantially on "faking" 3D by using different parallaxing and polygonal transform techniques. In a current example, I am working on a ...
1
vote
1
answer
137
views
How to pre-process the @export variable in Godot4?
Assume I have an export "arena_size". I would like to 'pre-process' this export so that whatever value user inputs in the inspector gets multiplied by 2 Like so:
...
1
vote
1
answer
258
views
How to use @export to list all the keys of the dictionary in Godot4?
Godot 4.2
@export is rather useful as a time saving feature for node customization. We already have the @export_enum that can give user a dropdown list of choices.
However, @export_enum is "...
1
vote
1
answer
156
views
Why can't I access custom properties clearly declared with _get_property_list()?
I have the following script attached to a simple control node designed to create a custom property "label":
...