Questions tagged [godot-4]
The godot-4 tag has no summary.
207 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
59
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
50
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
48
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
182
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
16
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
102
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
54
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
152
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
310
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
595
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 ...
1
vote
2
answers
649
views
Enter The Gungeon-style fake 2D in 3D engine, in Godot 4
So I'm trying to create a top-down pixel-art RPG, but for the primary mechanic to work, I need the engine to be in 3D and just use camera trickery to make the game look like tile-based top-down 2D. ...
3
votes
2
answers
292
views
I want people to mod my game
I'm making a game and I want the community to mod it. How do people mod games? I don't need a detailed explanation, I just need to conceptualize it so I'll know what to do and what to avoid.
I don't ...
1
vote
1
answer
233
views
What is the relation between TileMapLayer, Terrain Set and Terrain?
Godot 4.3 introduced TileMapLayer as node, which was previously part of TileMap node.
Each TileMapLayer allows defining different Terrain Sets.
Each Terrain Sets allows defining different Terrains.
I'...
1
vote
1
answer
213
views
How do I point a bone at a target using Godot's SkeletonModifier3D?
I've been trying to learn more about Godot's SkeletonModifier3D and I'm starting with a simple feature: I want a bone that points at a Node3D.
I tried following this official guide: https://...