Back to the Code
#PanicRoom Day 054
#100DaysOfGameDev R2D19
#100DaysOfGameDev R2D23
With a plan in mind, I sat down to start laying the code for the newly re-designed (at least in my head) grid overlay label system. The first task was to outline my goals and give myself some direction. Notes are a great way for me to accomplish this and give me something to refer to when I need to focus on what comes next.
From there I started defining the components that were going to make up this block of code. Knowing I was going to use some new arrays to keep things organized, I then had to think about initializing them once they were defined. Once built, it was then a matter of loading them with the data they would need to be useful to me. In this case, that meant grid positioning data pulled from another script. To verify I pulled this all off correctly I slapped down some testing lines to check my work and saw that everything was looking good. Spectacular!