Hello Devs,
It is our first game and we are a start-up. I had a programmer who happen to do programming and suddenly he is seeming to be a dead weight. Though we knew him personally we thought that he was as motivated as we are and hence I never looked for a code review or documentation. Now it seems that he is slacking hell a lot and we want him out and pay him for all his work.
Now during a conversation he said that “He would not document the code so as we could be dependent on him”. Now I am looking at the code and there is no documentation.
The code is all over the place. What would be the best way to understand his code. This question might be really vague but so am I. I am little stressed with the internal problems and I have to get this job done.
Now to give in insight of the details on the code :
- The game play mechanic and camera is scripts are the main and they have no documentation.
- Too much of Send/Broadcast messages so I am not able to see the references through mono. (irony is that our target is mobile)
- Again hefty use of strings in either invoking methods or passing parameters
- Update function everywhere which could have been reduced to co routines.
- No documentation
- Naming conventions are poor with no consistency
- Absolutely no pooling with usage of destroy and instantiation. I am excepting memory leaks.
Any advice would be great. As my head is not functioning properly due to the stress, I am just expecting any sort of help or protocols I should adopt to understand the code and work on top it. It could be links from outside or your own experiences. Anything literally. If you want more info from my end, kindly let me know. I would like to provide as much as possible so as to get the best help.
Thank you.