Godot Questions
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
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
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
13
Solved
I am thinking and looking for ways to save game data by c#. As a result, there seems to be a way to code and store each key and value using JSON, and a way to use resources. But I don't know how to us...
Friedman asked 21/10, 2022 at 12:6
12
Solved
Hello, I'm trying to discard an item on the inventory. I created a button to remove the slot's item (child). It seems to remove only the item icon but not actually empty the slot (New added item will ...
Chu asked 27/7, 2022 at 10:8
3
Solved
I'm not good at english.
I want to create inventory in 2D game with the following conditions:
move items to the boxes in the inventory
has stats like hp, actack, mana, ...
have weapons, armor, ...
Spyglass asked 5/8, 2023 at 9:1
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
2
Solved
Hi Everyone
(first post here... a little bit excited...!)
I'm playing with visual shader and I can't figure out how to enable "repeat_enable" for a sampler2D.
In the properties of the colorRect that c...
Huskey asked 15/3 at 16:28
7
Hi there!
Would anyone have any suggestions for a way to trigger text when the Sprite enters a specific Area2D? I've tried quite a few different things and none of them are working and triggering the...
Retiarius asked 14/3 at 14:22
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
Is there a way to have, for example, a VBoxContainer with a background color? I'd like to have an area whose width is fixed but height changes depending on the height of its children and have the back...
Aweless asked 19/2 at 20:29
9
Solved
extends CharacterBody2D
var Player
func _physics_process(delta):
var direction =
global_position.direction_to(Player.global_position)
velocity = direction * 300.0
move_and_slide()
Abutment asked 11/3 at 18:48
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
I ask because I am providing a function for a timer that is tied to another node than the one providing the function because after the timer is created (and still running) I may want to delete the nod...
Hainan asked 14/3 at 3:30
1
I have an Area2d with a CollisionShape2d child. The area has working signals for _on_mouse_entered() and _on_mouse_exited() and prints statements to prove it all works ok.
I also have an Area2d with ...
Li asked 14/3 at 17:38
32
Hello!
I am looking for a beginners'tutorial, but they describe a battle or catch-them-all game and I was looking for some variety of topics. Probably something dialogue based (that's what I intend to...
Jahvist asked 10/3 at 13:11
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
4
Solved
Hoi1! I'm having this weird problem where my player character (consisting of a Rigidbody2d parenting a rectangular CollisionShape2d) is falling slower than they should on:
Running the project
Falling ...
Jamesjamesian asked 13/3 at 18:50
1
Hi,
I'm making a project in Godot 4 and in that I use a spritesheet. The thing is, when I divide it into H-frames and V-frames, its not divided equally. I don't know how to really explain it tbh. The...
Limestone asked 10/3 at 22:32
© 2022 - 2024 — McMap. All rights reserved.