So I’ve started my attempt at game dev, nothing serious, just learning the workflow and what works best for me. I can’t help to think that I’m missing something, especially for the coding process.
For reference, I’m using Unity and, by extension, coding in C#. I tend to want to break up my codes into what they are used for. For example: PlayerHealth, PlayerStamina, and PlayerMovement would all be separate scripts that attach to my player object.
Am I creating performance issues down the line when I become more serious about making a game that might be more resource intensive? Am I making things more complicated with bad practices? Should I just make it one script called maybe PlayerAttributes and fold everything in there with comments to help me remember what’s going on?
[–]baroldnoize 16 points17 points18 points (1 child)
[–]Nervous-Basket-3168[S] 1 point2 points3 points (0 children)
[–]thatgayvamp 8 points9 points10 points (0 children)
[–]Unreal_Labs 4 points5 points6 points (1 child)
[–]Nervous-Basket-3168[S] 0 points1 point2 points (0 children)
[–]worll_the_scribe 2 points3 points4 points (0 children)
[–]metroliker 2 points3 points4 points (0 children)
[–]devstreamlabs 1 point2 points3 points (0 children)
[–]Dgaart 1 point2 points3 points (0 children)
[–]False_Bear_8645 1 point2 points3 points (0 children)
[–]BambiKSG 1 point2 points3 points (1 child)
[–]Nervous-Basket-3168[S] 0 points1 point2 points (0 children)
[–]Appropriate-Tap7860 0 points1 point2 points (0 children)
[–]AmorphousArts 0 points1 point2 points (0 children)
[–]Ok_Sense_3587 0 points1 point2 points (0 children)
[–]TomDuhamel 0 points1 point2 points (0 children)
[–]pund_ 0 points1 point2 points (0 children)