Topic was automatically imported from the old Question2Answer platform.
Asked By
payload505
can someone give me a quick overview on how godot script work like
-why is there an extend at the top of the script and
-if there is an extend shouldn’t the code be all inherited classes instead of predefined functions?
first of all iam glad you responded and my second questions meant if GDScript is a class why isn’t the whole code extends from it we will write class ready instead of function ready
payload505 | 2020-03-17 04:00
The question still doesn’t make sense. func defines function (also called a method) belonging to the class. Writing class would define a new class.
It seems that you may not understand how object oriented programming works. Here are a few links that may help: