godotengine / godotengine/godot-docs

Class examples needed

Open
#3,772 12 comments 0 reactions 0 assignees View on GitHub
area:engine details area:manual enhancement
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:**
3.2.2

**Issue description:**

Class page is a bit rubbish. It's really hard to figure out how to make a class. Classes are pretty fundimental and there should be a super clear example before the complex documentation

This screenshot from a random YouTube video explains classes in 10 seconds. The links below are useless.

![image](https://user-images.githubusercontent.com/17924807/87201838-519a5180-c2f7-11ea-88d5-edc772f61884.png)

None of us are coming to Godot as noobs, we know how to code. We just want to see how to create a class and move along with our lives. Simple examples are such a time saver. Better if we can copy and paste the code :)

**URL to the documentation page (if already existing):**

https://docs.godotengine.org/en/stable/development/cpp/object_class.html
https://docs.godotengine.org/en/stable/getting_started/workflow/best_practices/what_are_godot_classes.html

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.