#Hiya yall! Im a starting dev and im
1 messages · Page 1 of 1 (latest)
Your concern is really vague. Not sure how to help honestly. Do you have a specific question?
Well, how do i learn to write code properly? Like i know what Console.WriteLine does for example (and all the other pieces of code) but i cant put it into a proper script, as in the way of struggling to write a script, any tips on learning that?
(I have the knowledge of what a script does or that sorta stuff as i can read a script and understand what it does but i just cant write it myself as in skill)
What do you mean by "a proper script"?
Start with a specific goal, and work towards it
i might be misunderstanding, but it sounds like your perception of how coding works in unity is a bit flawed. you should think of each script as pc parts, and the system that you are trying to implement as the entire pc
Im starting with c# atm but i will move over to Unity in a bit, its more that im struggling with putting together a script, its like struggling with writing a sentence in a new language and u understand the words ur speaking but not how to put em in a sentence in a good order
can you give an example of what you mean?
like give an example of something you want to do but are stuggling with
Well im doing assignments for my uni atm (game dev uni) and we need to learn c# before we start with unity but my brain cant seem to put sense into how to write code properly, like i know what it all does but idk how to write it from scratch, like for example i could maybe put together a hello world script but thats as far as it goes, not as in that i have no knowledge of the code from that point but more as in the sense of me not knowing how to put together everything into a script, i just cant write it to say it like that,
Its really hard to explain, so sorry abt that
i think i understand. in that case, i would recommend following along with a good tutorial on just the basics of c# (freecodecamp has a good one on yt) and make sure you follow along with what he is doing. Coding isnt a spectator sport that you can just pick up buy watching, much like math. practice is what it seems that you lack
Hmm alr, ty, can this thread stay open in case i need more help regarding this?
yeah i dont think they close ever
Oh good
Have you had a look at https://learn.unity.com/project/beginner-gameplay-scripting yet?
Nope, didnt know that existed xd, is this c# or unity explanation?
It goes over some beginner programming concepts while showcasing practical use cases with Unity 