Questions tagged [godot-4]
The godot-4 tag has no summary.
209 questions
0 votes
1 answer
102 views
How to make enemies spawn off-screen in Godot 4.5?
I am trying to make a game using Godot 4.5 where enemies spawn off-screen, but I faced this bug where they spawn on-screen instead: The white squares are the spawned enemies and the red is the player....
0 votes
0 answers
22 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
35 views
Godot Multiplayer Player Doesn't Spawn
Godot Version 4.5 Stable I'm trying to create a multiplayer game. Since this is my first multiplayer game I started with a simple LAN setup. How it is supposed to work: When ...
1 vote
0 answers
58 views
Colliders not in the same collision layers stopping each other from moving
I'm creating a space sandbox game (godot 4.5), and the core of my building system is attaching parts together to create assemblies. Each assembly is one rigidbody3D that contains all the parts. Since ...
0 votes
0 answers
145 views
How to best simulate headlights
Goal: How can I best simulate headlight beams, in a night-time scenario, in Godot 4? The components I have are all sprite-based - a top-level car sprite, a shadow sprite (that is offset based on time-...
0 votes
0 answers
63 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 ...
3 votes
1 answer
208 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, ...
0 votes
0 answers
26 views
TileMapLayer doesn't move along with its parent node
I'm using Godot 4.4.1 and currently learning how to build auto dungeon generator. The dungeon "room" is developed using TileMapLayer. Room parent are set to ColorRect for background. I use ...
1 vote
1 answer
137 views
How to propagate linear/angular momentum to parts when a 2D tile-based ship is broken into pieces?
I have been working on a project in the Godot engine about creating tile based spaceships. It works great and I find it very interesting. My biggest issue though is correctly simulating disconnections,...
0 votes
0 answers
60 views
Runtime defined classes in Godot
Godot offers the CodeEdit node that lets users write code during runtime. I want to: Offer GDScript LSP-features inside the CodeEdit Interpret the written code as GDScript Check if a class was ...
0 votes
1 answer
169 views
Godot 4 chip-8 emulator not displaying font correctly
I'm making an emulator for the chip-8 using the Godot 4.3 game engine, It's almost complete and you can play pong on it perfectly fine, But it can't display numbers from the built in font. Each ...
2 votes
1 answer
401 views
Is await/free in gdscript a potential memory leak?
Consider a situation where a coroutine in node A awaits a signal from node B. If node B gets freed without sending the signal, obviously the coroutine in node A will never finish executing. Does it ...
12 votes
2 answers
4k views
What is the cause of these pixel artifacts and how do I prevent it?
I'm getting these strange image artifacts when I attempt a low-res 3D orthographic scene in Godot 4.4: Here's my steps to reproduce: In MagicaVoxel, export the built-in "castle" example to ...
5 votes
2 answers
664 views
How do I make my chip-8 emulator update at the intended rate?
I'm making an emulator/interpreter for an old console called the CHIP-8 In Godot 4.3 stable. It's going really good so far, I basically just load an external ROM into a virtual RAM (a ...