python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Why is it saying i'm misplacing "elif" even though i already have "if" and "else" in the script?
extends KinematicBody2D
var velocity = Vector2(0,0)
const SPEED = 100
func _physics_process(delta):
if Input.is_action_pressed("right"):
velocity.x = SPEED
$Sprit...

user17971130
Votes: 0
Answers: 2
Godot Invalid to get index 'x' (On Base: 'Node (a.gd)')
im trying to hold a path to a game object (bat.tscn) in a script and use it to instanceate a object from a different script. Name of the script that holds the variable is called a.gd and the one that ...
SemihERDEM
Votes: 0
Answers: 3
Loop through all points in a spherical area located at a given origin
I'm working on voxel terrain in Godot which uses a chunk system. One component is scanning the area around the player to determine which new chunks to add as they move. I took the easy way and wrote t...

MirceaKitsune
Votes: 0
Answers: 1
Godot - Game freezes when Area2D Monitoring turned on
So when my player falls off the map, I want the level to reload. I have used an area2d with a collisionshape2d to create an area that will call a function when the player collides with this area. Howe...
Josephbrad1234
Votes: 0
Answers: 1