Skip to main content

Questions tagged [gdscript]

GDScript is a high-level, progressively typed programming language designed to work with the Godot Engine. It uses a syntax similar to Python (blocks are indent-based and many keywords are similar).

0 votes
1 answer
88 views

I'm adding deceleration to my player character, decreasing their velocity over time when the player releases the direction keys. With the code below, at non-perfect angles, the character seems to re-...
MyNamesRubber's user avatar
0 votes
1 answer
40 views

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 ...
Nabir14's user avatar
  • 59
0 votes
1 answer
191 views

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 ...
jakub's user avatar
  • 145
1 vote
1 answer
308 views

In Godot 4.5 beta 5, I am trying to override the text setter on a Label node. Following the documentation, I did: ...
jakub's user avatar
  • 145
0 votes
0 answers
64 views

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 ...
Prashank's user avatar
0 votes
0 answers
67 views

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 ...
Jason Crosby's user avatar
3 votes
1 answer
214 views

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, ...
Ishan2077's user avatar
  • 135
0 votes
1 answer
170 views

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 ...
buzzbuzz20xx's user avatar
2 votes
1 answer
421 views

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 ...
Carl Muckenhoupt's user avatar
5 votes
2 answers
666 views

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 ...
buzzbuzz20xx's user avatar
0 votes
1 answer
161 views

Suppose I have these two classes ...
Wouter Vandenputte's user avatar
0 votes
3 answers
577 views

I am having trouble understanding the syntax in GDScript, specifically the use of class_name and extends. I often come across ...
shingo.nakanishi's user avatar
0 votes
0 answers
73 views

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 ...
ThetaJones's user avatar
0 votes
1 answer
140 views

I am new to game development and Godot. The code is gathered from multiple tutorials and now i am stuck. It almost seems to work but my problem is the respawn mechanism. Maybe someone can have a look ...
Jango B's user avatar
0 votes
1 answer
795 views

When I try to run the following code in Godot, I get the error: Line 45:Identifier "delta" not declared in the current scope. I don't know what this means or what I should do about it. <...
John Jergens's user avatar

15 30 50 per page
1
2 3 4 5
12