Questions tagged [godot-4]
The godot-4 tag has no summary.
202 questions
0
votes
0
answers
26
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
107
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
145
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
3k
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
482
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
335
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
222
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
120
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
130
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://...
1
vote
0
answers
50
views
How are the Inspector, Select Tab, and Paint Tab related in the Terrains settings?
use: Godot Engine v4.3.stable.official, TileMapLayer
How are the Inspector, Select Tab, and Paint Tab related in the Terrains settings?
There are many settings that need to be configured in Terrains, ...
1
vote
1
answer
89
views
I'm not sure how to set up tile animations in TileMapLayer
use: Godot Engine v4.3.stable.official, TileMapLayer
I don't quite understand how to configure tile animations.
As a reference, I'm watching this video:
https://www.youtube.com/watch?v=it0lsREGdmc
I'm ...
0
votes
1
answer
51
views
For some reason, autocompletion works even though it's "Disconnected."
I installed the following extension: https://marketplace.visualstudio.com/items?itemName=woberg.godot-dotnet-tools
but I'm not sure if it's actually related to autocompletion. I've tried turning the ...
0
votes
1
answer
48
views
Error when calling function from script using class_name
I'm making a mockup desktop for a sandbox game. I have a script, in which I defined a ObjContainer class that extends the Control...
0
votes
1
answer
59
views
Enemy moves away from player rather than towards
"enemy" node script:
...
0
votes
0
answers
31
views
Increasing final image scaling with shaders on top to 125%?
When I apply the canvas_item barrel distortion shader to my viewport, there is a noticeable loss of resolution in the center of the screen. Therefore, is it possible to scale the final image + fisheye ...