Programming Questions

4

Got two surfaces on my map mesh assigned to some faces on the geometry. I am able to get the specific face IDs on the mesh, so what can I do to get the surface assigned to that face? Any help is ap...
Cotemporary asked 22/3 at 0:58

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

4

I'm importing mixamo character animations via blender export of gltf, then just using the AnimationPlayer for this example study. I'm able to save AutoPlay and Loop, but am unable to save a "Call Me...
Viaduct asked 19/3 at 21:9

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

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

3

How do you make an enemy AI? I want it to be like this tutorial: https://kidscancode.org/godot_recipes/4.x/ai/chasing/index.html But mine doesnt work for some reason. The enemy doesn't detect the play...
Scholium asked 15/3 at 22:37

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

1

For Labels/RichTextLabels, is there a way to get the amount of characters only in a specific line/paragraph? So instead of get_total_character_count(), something like get_character_count_from_line(2)?...
Mord asked 15/3 at 16:34

1

Hi all, I'm having a little trouble with loading the information from a text file using FileAccess.GetFileAsString - I'm using a res:// path and DirAccess.GetFilesAt to get a list of files in a path,...
Formation asked 13/3 at 12:15

3

Hi I'm trying to build a paperdoll system, constructed from a parent node and sprite2D children of the node representing the layers. I am using @tool so that I can customise the various attributes of ...
Interrex asked 12/3 at 16:42

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

1

How do you go about creating a cutscene in Godot 4.2?
Superstar asked 6/3 at 6:56

5

im planning to remake universe sandbox in godot (in 3d), so, how do i make a solar system simulation? these are the things i need for the game: the planets must always orbit the sun, and will drift ...
Symmetry asked 5/3 at 19:49

6

I have a character after a jump, has a landing animation, this needs to play, before an idle state (in state machine) gets called with the animation_finished signal. This Idle state, has a secondary ...
Frambesia asked 29/11, 2020 at 2:32

2

I am currently going through the tutorial for making a 2D game in Godot and I came across this error: I'm not sure why the indentation error happened nor how to fix it. This wasn't an issue until I i...
Montenegro asked 24/2 at 22:0

5

When i am writing something (poorly thought out) like : class_name DataSet extends Resource @export var resource_type: String = "Resource" @export var resource_set: Array[resource_type] The engine ...
Ezara asked 3/3 at 21:16

6

Hello, I have a function in my code to apply damage to the health of a creature. However, the changes to the current_creature_health variable do not persist outside of the function, when it is called...
Exhalant asked 29/2 at 19:55

4

Solved

So i have these boxes in my game that the player can move around and jump on top of. the player can also break these boxes in order to get the shape they want. how this works is that all the boxes are...
Sarmiento asked 5/2 at 13:22

2

so i'm trying to make a big monster that has a pathfinding. but the pathfinding doesnt work. it's only working when i smaller the monster. How to fix this?
Shute asked 2/3 at 8:14

6

So, the movement code in my game broke. It's only the player's movement that has broke and all other things like enemies have normal movement extends CharacterBody2D @onready var _animated_sprite = $...
Euglena asked 1/3 at 21:0

5

Hi! I can't find a way to manage some of my resources without having to hardcode string paths somewhere. And I would prefer to avoid that at all costs because I am still making frequent changes to t...
Prine asked 28/2 at 19:16

10

Hi all, got a small issue here trying to get information from a dictionary. I'm creating a chunk system for my game and storing the node of a chunk and a basic coordinate system into a dictionary. The...
Oosperm asked 28/2 at 20:38

4

I have a script that is autoloaded called "state". The script extends a Node. It just has some basic funcs, nothing relevant. The bug I am reporting is, I never wrote "class_name State" on this script...
Tunicle asked 12/4, 2023 at 3:20

© 2022 - 2024 — McMap. All rights reserved.