Hello, recently started to learn game development and I am loving it but as I am learning more sometimes I get stuck on a feature I can’t code by myself and then find the answer online, it feels so bad not understanding the code even if it works, will I learn to understand the code by time or is it something I’ll have to deal with all the time? is it normal to implement chunks of code that I won’t understand and have to accept that as long as it works it’s fine and I can call myself a game developer?
You just need to keep learning & practising. Eventually things you didn’t understand before will make sense as you go.
It’s fine to find solutions online & implement them in your projects, but I’d argue you shouldn’t implement something you don’t understand - it’s just going to make things harder for you in the long run.
When you find something online that you don’t understand, try looking into the parts you aren’t familiar with to see if you can get a better understanding.
I think Vryken covered and I would suggest you take active steps towards understanding the concepts that you don’t understand. That doesn’t mean stopping everything and studying C# but it might include snipping pieces of the code you don’t recognize, putting them in a “todo list” for yourself and looking it up when you have time.
One of the best reasons for understanding the code is “as long as it works” may not be quite as long as you think. Lots of horrible code runs in most situations. It could fail in some situation but it also might just operate poorly most of the time.