Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Refactoring Code

        Hello Jacob M here,  some problems I ran into this week were that the code setup was pretty jank due to it being the first setup was made with quick and dirty functionality,  and the design was rough outlined. The code was also not up to standards either from the start because we didn't have any that we liked, so one of the group members had to write some coding standards for us to follow but by  the time that he was done it was sorta late because we had written a bunch of code. I had to go through and rename name stuff and Andrew noticed that we could change some of the code to be more efficient by using a interface rather then putting some code in update which happens  every frame and even though its not costly on a PC build, I'm sure that it would be costly on a VR build so I changed it and added some pop up text when the bed is looked at after completing a shift to be able to display.


     So a solution was to change the code and get it to work with the interface which also end up breaking the increment day function to change the day but also made some efficiency so then the code is now being refactor to meet this requirement.  In the process the repo was messed up a bit but through more commutation and working together as a group we had more cohesion.  So all in all, the problems were fixed through communication.

Support this post

Did you like this post? Tell us

Leave a comment

Log in with your itch.io account to leave a comment.