I just started using this engine, and was in the middle of making a player movement script.
var velocity = Vector2(0,0)
const SPEED = 4
const GRAVITY = 0.5
const JUMP = -10
velocity.x = SPEED
velocity.x = -SPEED
velocity.y = velocity.y + GRAVITY
velocity.y = JUMP
velocity = move_and_collide(velocity)
velocity.x = lerp(velocity.x,0,0.2)
I was testing out this portion, and kept getting prompt with the error "The argument "delta" is never used in the function physicsprocess." I tried using " _delta" instead, but my game still wont run.