GDScript Questions

6

Is it possible to add custom description to properties from _get_property_list() to show it as a tooltip (instead of "No description")?
Tessy asked 23/1, 2023 at 14:51

2

Godot Version 4.2.1 Question simple question. I created a label with code and want to keep everything the same… but make the font bold. I tried playing with font in the theme but cant find option to ...
Plotter asked 21/3 at 4:49

1

Hi. I'm new to godot and am currently using 4.2.1. Im basically trying to make a real time flood fill that I can click on an area that is enclosed and it fills the 'selected' region. Using tiles to pa...
Wojcik asked 16/3 at 19:10

4

The objective is to get symbols scrolling on the sides to maintain size and position, ignoring Camera2D and Light2D. Failed with CanvasLayer and SubViewport. Feels like I'm missing something obviou...
Hern asked 16/3 at 4:14

1

Hello. I am making a visualized backend text editor to edit a simple format used by Bonnie Dialogue Plugin. I made a @tool script with a few @export variables to control x, y of certain image/sprite's...
Tricho asked 18/2 at 2:45

3

I'm making an idle game about selling eggs and I want to create an egg every 2 sec. There are 5 types of eggs (as shown in the eggs array), and I have the function GenerateEgg to choose one randomly a...
Deathday asked 18/3 at 0:19

2

I've been struggling to make a turret look slerp at the mouse cursor appropriately. I've been trying to do this with Quaternions and believe I'm at the edge of understanding them, so forgive the code....
Ihs asked 17/3 at 13:42

4

Hello, i'm trying to code a top down space shooter in 3D (i did it in 2D) I have problem to rotate the ship face to the mouse pos. I dont want to use "look_at" but i need to use torque for realism. I ...
Ankylose asked 16/3 at 9:45

4

Hello guyz, I'm just exploring godot and I'm following this: https://docs.godotengine.org/en/stable/getting_started/step_by_step/signals.html I've my sprite2d node with a Timer. With the sprite spr...
Reputable asked 16/3 at 18:54

12

Solved

Hi, I'm rather close to being done with my game (Will release in August), and I'm going back to a feature I scrapped for a demo for an event. You see, my pixel art game is at a strange resolution (80...
Svelte asked 16/3 at 1:52

2

So i instantiate some enemies with NAV, problem is game always frezze a few secs when they spawned. I thought NAV cause this but not. I find out it from spawn codes, here is codes with freeze: _zb = ...
Octal asked 16/3 at 16:21

10

Im making a text adventure game and have some code taht makes it show a message when the game starts but the message it shows isnt what i gave it and the message it shows doesnt even exist in my code....
Shapeless asked 16/3 at 0:21

9

Hi, im using silentwolf for score board for my game, and with scores im also uploading a 'metadata' with it with every player score record. i can record them, and i can call them in back, but problem...
Reformed asked 25/2 at 13:9

6

Hi there, is there some kind of ingame canvas that would be suited to add UI to tiles? Imagine civilization for example... showing ressources. Or to be more basic: Showing the coordinates on the til...
Lytic asked 11/3 at 17:15

6

This works perfectly: # Signal signal blanksAdded (blanks, influences); # Emit func Add_Blanks (blanks:Array[Vector2i], influences:Array[Biome]): blanksAdded.emit (blanks, influences); # Connect func...
Epaminondas asked 3/3 at 12:58

8

Is there a way I could use GDscript with curly brackets syntax instead of the python syntax? Sorta like this: func _ready(){ pass; } I already tried doing this but it threw an error. I don't like ...
Nahum asked 12/3 at 21:22

3

For example, when I drop in a PNG file, how does it know whether to treat it as an Image, a Texture, etc? This is 3.5.3.
Trojan asked 10/3 at 6:9

2

I'm trying to create an interconnectable node system and for Sprite it works it doesn't work for Texture2D. <iframe width="560" height="315" src="" title="YouTube video player" frameborder="0" all...
Rebeca asked 12/3 at 13:0

4

having multiple plugins... am I missing something here?? `[plugin] name="plugin1" description="bla bla" author="me" version="1.0.0" script="script1.gd" [plugin] name="plugin2" description="bla bla" ...
Toledo asked 10/3 at 22:22

6

point-click-copy.zip3MB I'm making a project where the player moves towards the position where you click and I want the player to change to the IDLE state when they reach that position, but I seem to ...
Codd asked 3/3 at 17:54

5

Title says all. How would I go about coding an upgrade where after the player character picks it up, they temporarily get the ability to fire 3 shots. One shot would fly forward and the other two woul...
Pender asked 2/3 at 2:19

2

Solved

Hi, I'm trying to make a Legend of Zelda ish game mixed with elements from skyrim. Art style and map style inspired by Legend of Zelda: The Minish cap. It's going to be kind of a big world and the ga...
Beshrew asked 8/3 at 22:37

5

Hello, I am admittedly very new to Godot (starting yesterday), and I have been trying to learn Godot (mainly for fun). Ever since, I've been stuck on this error for a while (though I dont think it bre...
Symposium asked 6/3 at 22:54

3

This problem only exists with exports. I've been preloading lots of PNG files without a problem. Today I added a bunch more and as far as I can tell the images are exactly the same (format) and impor...
Determinant asked 5/3 at 5:45

2

I've created a conditional breakpoint by assigning a key to change the 'breakpt' variable from false to true. Elsewhere I have a conditional statement that if breakpt=true, it accesses a 'breakpoint' ...
Speciosity asked 1/3 at 4:56

© 2022 - 2024 — McMap. All rights reserved.