Corona-cation (Day 23)
Refactoring... yay Today I felt the full impact of all my impromptu decisions during the jam. Every, "oh, this'll do for now" had to be cleaned up and thoughtfully reworked. The majority of it had to do with the communication between buttons and the objects they activate. I had originally planned for there to be one or maybe two plate/button per stair/door. I was very wrong. Today I was sent a screenshot of a prototype for level 6, and well, it speaks for itself... Credit: Destin LeClear It became apparent I had to prepare for multiple buttons per object. I thought that it would do nicely if I had an array of buttons that could activate a door or something. Then I realized that to do that I would need to rework the activation/deactivation system, but then I would also need to be able to generalize activation objects, and I'm sure you can see where this is going. I settled on the following system. One paren...