Learning Godot using AI

Godot Version

4.6.2

Question

I am currently new to godot. I have watched a few tutorials and am now using ai to learn the rest. If there is something i can’t figure out i ask it to tell me and explain what the code means and how to use it. Is this a good way to learn or should i be doing something else?

1 Like

If this is your hobby, do whatever makes you feel good.
If you’re serious about it, enroll in CS50.

2 Likes

Highly recommend not using AI, and instead look up guides online, read the documentation, and experiment yourself. If you get stuck, ask people on Reddit or here on the forums.

5 Likes

Thank you!

I will look into it. Thanks for the help!

By this, do you mean ‘ask the LLM to write the code, then explain what the code does’? Or do you mean that you found a chunk of code somewhere else, then ask the LLM to explain it for you?

The latter is fairly innocuous, the former not so much. LLMs will ‘hallucinate’ methods that do not exist, especially if they don’t have enough training data on a subject. Their training data also tends to be outdated. Ask it to generate some example code that uses signals, and there’s a good chance it will use old-fashioned Godot 3 syntax that uses strings for everything.

Personally I don’t think a professor with prodromal dementia who still thinks it’s the 1980s is the best teacher you could have.

you shouldnt use ai but for a first game its ok to vibecode a script that is ESSENTIAL

I mean i will tell it my error, then have it give me what code will fix it and explain to me what the code does so i can learn how to use it and where to use it.

I really only use it to explain to me code i need when i dont know what to do.

as long as you actually try the code & experiment, then it’s best way you can learn faster, AI is a tool and people forget it, telling not to use it and so on, but as long as you don’t literally copy paste code but try to learn, you’ll be good

1 Like

Alright, that is what i try to do. Thank you so much!

1 Like

thats what i am saying

2 Likes

I do not recommend using an LLM to learn. Because it will tell you the wrong thing. It’s explanations will seem to make sense, and there will be enough true things that you’ll feel you’re learning. But an LLM is not a search engine. It is literally a random word generator. It seems intelligent, but it is not. It will always sound like it’s teaching you things, but you do not know enough to know when it is wrong.

2 Likes

I will keep that in mind, thank you!

The official docs are really good, I’d highly recommend starting there and reading them when you get stuck.

I’d also recommend lurking in these forums even if you aren’t asking/answering questions. I’ve learnt quite a bit by reading questions that sounded interested or were tangentially related to things I’m using.

2 Likes

Same. If I see something I don’t know but am curious about, I mark the thread as watching to see what answers other people come up with.

1 Like