Hi!
I'm trying to extend the class 'Actor' from the 'Player' class but it throws an exception... it says : error(1, 1) : Unkown class : "Actor"
here's the code
Player class :
extends Actor
Actor class :
extends KinematicBody2D
class_name Actor
Nathan Lovato
replied
So you're writing it like
extendsKinematicBody2Dclass_nameActor
Right? Can you check that:
You saved every script file
You are using Godot 3.1
Have you tried restarting Godot as well?
This generally helps to solve the error.
s
stephen t(stephent)
replied
I had this problem as well, I discovered I had installed godot from the fedora repo's and it wasn't the latest version. Downloading the latest version from godot fixed the problem.