New to game development
So hy I am new to the wonderful (idk maybe not so wonderful) world of game development and I have a question, how do you guys/girls know what all this does (like for example if(Input.GetAxis.........)) how do you know for one what it does, for two how do you know it off of the top of your head and where to put it
About this post
- Posted
- Archived
- Score
- 3 · 100% up
- Kind
- Text
- ID
- jcbmte
14 comments
Check the documentation to see what every method and class is for
Thank you, but also to see like which words I should put where?
There is no rule or something to know where you should put certain code, it depends on what you want to achieve. If you feel lost, you can always look for a tutorial related to what you’re trying to do
Practice. If you do not know what something mean you got google for that. If you practice coding regularly and try to attempt challenges from websites or just challenge yourself! i remember when i first got into game dev i just use to copy the code from the lectures thinking if i did this ill remember. I did remember a few things (basics) but after watching a vid i could not do it again myself. So try to attempt most of the stuff yourself like when u watch a youtube vid they explain the concept behind the code like if they wright pseudo code try to write the real code yourself before looking at what the instructor does. After you've had some experience and practice in programming you'll know what to put where. That's my suggestion :)
Great suggestion and yeah I do that too just copy from tutorials, bad habit of mine
For me there are three ways that when combined seem to work:
Oh yeah, and the dreaded bonus step 4) practice...
Just keep referring to the docs and tutorials while you experiment/play with the code and you'll start to develop your own style and learn what works for you and your game. Have fun with it and just keep going.
Before life took over, my learning curve with Unity was going well - but even after 100 hours of using Unity and pulling apart code, I still didn't know exactly how to use things off the top of my head and had to look a lot of things up.
Now that I've had a month off and tried to get back into my project, I feel like I have to learn everything over and it's soul-crushing.
Think about it kind of like learning new vocabulary: You start off looking at documentation and following tutorials, but eventually you just attribute certain functions to their uses, and it becomes instinct
Google it.