Skip to content

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

3 points14 comments
Open on Reddit
About this post
Posted
Archived
Score
3 · 100% up
Kind
Text
ID
jcbmte

Author

1
posts
3
comments
0
media
View profile

14 comments

Check the documentation to see what every method and class is for

2 points

Thank you, but also to see like which words I should put where?

1 points

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

2 points

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 :)

1 points

Great suggestion and yeah I do that too just copy from tutorials, bad habit of mine

1 points

For me there are three ways that when combined seem to work:

  1. documents
  2. YouTube tutorials
  3. (the fun one) experimentation

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.

1 points

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.

1 points

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

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.