Pulse Works Studio

Parse Error: The function signature doesn't match the parent. Parent signature is "_process(float) -> void".

_process and _physics_process must take one float and return void.

Cause

Godot calls these virtuals with the frame delta. The analyzer builds the parent signature from the native method: the parameter type, not the parameter name, then an arrow and the return type. Dropping the argument, typing it as int, or returning a value all fail this check.

Fix

extends Node

func _process(delta: float) -> void:
	position.x += 40.0 * delta

Related

Godot Dev Tools is a Pulse Works Studio project. All error explainers.