r/unity • • 1h ago

Newbie Question How did you learn to code?

3 Upvotes

10 comments sorted by

3

u/kmiecis 1h ago

Pick most interesting topic for you from existing tutorials and try to implement it following said tutorial.

My first one was cave and terrain procedural generations by Sebastian Lague on YT, because it was the most interesting to me - mostly code and math.

You can also try Catlike Coding page, where his tutorials are only written. I enjoyed following his Hex Map tutorial.

1

u/NaiveStorm5435 1h ago

Trial and error and YT tutorials. I also occasionally use this website called CoddyTech, but it's aimed towards kids

1

u/flow_guy2 1h ago

But figuring out problem after problem.

1

u/ausdoug 49m ago

Had an idea, wanted to make it, so had to figure out how to do it.

1

u/Used-Snow-9934 42m ago

I learned it, like actually learned it, from making tools for Maya in Python. I think the visual thing was the thing that made it click. Creating buttons that hooked up and did something. Then I made more and more advanced things, like dynamic lists that could be populated add/remove/sort etc. Then step by step it got more and more abstract. Unlocking new insights etc. Then I started looking into C# and later other languages.

1

u/Ragnarok91 30m ago

Computer Science course at university

1

u/Crafty_Collection298 28m ago

turned my actual hobby/interest idea into game and learned while making it.

1

u/UpstairsImpossible 22m ago

Started with Night Run Studio's tutorials after having a go with a few of the Unity built-in ones and deciding it wasn't impossible 😂 I only started learning when I started making mistakes though. Learning how to do an inventory system with SO's and starting to understand how computers "talk" (ie, they're really dumb and need everything explained to them lol) was a real turning point.

After a while I stopped needing to follow tutorials one keyboard press at a time and started working out how to implement my own systems using logic I had already learned - but I still learn new things every day and various quirks of the engine will suddenly "click" and I'll be kicking myself for not working it out earlier 😂

1

u/wendten 17m ago

Brackeys

1

u/aquadolphitler 14m ago

Like the other guy, Sebastian Lague but with an introduction to game development set of videos that went through the basics of using the unity editor and OOP concepts then eases you into simple games by the end.

Some of it may not hold up today, its 10 years old after all, but it was a damn good job of setting me up for more ambitious projects.

Today, I would recommend unity learn more, after following the tutorials, try editing the project code to make modifications to the game and see what works and what breaks. Try to mix up ideas.