Ok I was wrong the rest has not been “more relaxing”. I knew I would have to optimise the code in garage but I didn’t know it would take so much effort. I combined the three upgrade states into one function that uses the screen name as the key to each section of the library to get the needed information. I also spent ages on a for loop to make blocks for each upgrade so adding them should be easier. The event handle function also works for every upgrade no more piles of if statements. Now I will be focusing on fixing the UI and adding upgrades.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.