Post

Code Monkey
Code Monkey@UnityCodeMonkey·
I don't think most projects fail because the idea was bad. I think many projects fail because the code becomes too difficult to work with. At the start everything is easy. - You add movement - You add enemies - You add UI - You add inventory Everything works. But then suddenly every new feature takes twice as long as it should. You fix one bug and create three more. Changing one thing breaks something completely unrelated. The project just becomes heavier and heavier until eventually you stop wanting to work on it and give up. That's the point where many projects die and end up in your giant pile of unfinished projects. Clean code isn't about making code look pretty, it's about keeping complexity under control! It's about making sure the project remains enjoyable to work on even after months of development. Because if your project becomes painful to work on, finishing it becomes much harder, and finished games are worth a lot more than abandoned prototypes. So if you want to take your games to the finish line then I encourage you to think about the quality of the code that you're writing. I have an entire 1hr talk on YouTube all about this topic titled: "How to Write High Quality Code that doesn't fall apart." If you're trying to be a professional game dev as opposed to just a hobbyist building throwaway prototypes, then I highly recommend you learn how to write proper high quality clean code. Best of luck!
Code Monkey tweet media
English
7
10
72
3K
Guldard
Guldard@Guld4rd·
@UnityCodeMonkey I'll definitely check this one out. I'm already convinced I should write cleaner code but my question is often : how ?
English
1
1
2
58
Goldenleafgamestudio
Goldenleafgamestudio@Goldenleafgames·
@UnityCodeMonkey Yes some times a simple game has more then 200 global variables if you dont code for a few weeks its getting harder to start again
English
0
0
1
87
Mo Hoyt
Mo Hoyt@MoSifff·
@UnityCodeMonkey One of my main goals is to understand what I’m coding and make sure future me can understand it too. I fixed a bug yesterday that would’ve taken me forever to find but because I understood the function I knew exactly where to look.
English
0
0
1
86
Paylaş