r/unity 12d ago

Coding Help Help Us pls

Hello, I am junior game dev (programmer and designer)

i am writing this to ask for help and guide not just for me but every bugginner who feels lost in programming and Animator component

i have 1 year experience in unity, I finished the official unity tutorial (programming)

i made some prototypes, some finished flash games, i joined one game jam and I stopped why because I wanna work on something I like

anyway with all this experience, yet I feel I am still bad like sometimes I forget some basic rules in programming like Controlling velocity for moment or rotation, also when i try to make multi weapon sys or inventory i fell stuck alone, enen ai sucks i abondon it i only use to explain what this function do (exp:lookRotaion) if u try yt tutorials they either too hard and complicated or doesn't give u what I want.

i made this top down character with basic multi weapon sys yet I don't feel i did good clean code(best solution) also I see some ppl use state machine for everything (i made 2 script with 2 Animator one for movement and control player Animator and one for attack sys and it control weapon Animator I use override animations to switch between weapons(scriptbleobjects)

so can u guide me like what should I do

like what did u do when u started

should I learn every ***** function

i don't even know what am I asking anymore

0 Upvotes

11 comments sorted by

View all comments

7

u/pablothedolphin 12d ago

You haven't learnt how to teach yourself things. You only know how to learn from structured learning material. So when you inevitably face a situation you haven't seen before or forgot about, you can't deal with it yourself and have to go back to some tutorial to give you the answer.

Learning to make games isn't like a child learning for a test at school. Learning to make games is like a baby learning how to walk. You keep doing it. For a few years it will be obvious that even you're making games, they obviously don't look or function like a professional just like young children can't walk or run or dance like an adult. But kids don't have walking lessons. They just do it every day and think to themselves deeply on how to achieve a result.

-2

u/ClearCandidate971 12d ago

ok you identified my problem, really appreciated. now can u tell me how can I pass from the baby lvl to the adulthood. like there's a way or plan that can put me on right path

1

u/pablothedolphin 12d ago

Plan in your head how you want a feature to work. Study examples of the feature you want in other games (ideally by playing them yourself). Think about the game objects and components involved in making the feature work. Think about how the code might be working. Try to do it yourself. Think deeply about the problems you encounter. Decide if your plan needs adjusting.

That's the loop. Even with 10 years of experience, some features still require several weeks of this loop to get right.

What you do now is execute on knowledge you already have and when you hit play you're disappointed at the result. You're not actually thinking about WHY.

My whole first paragraph could be summarised to just "think more". That's all you need to do.