Skill Tree Activated

The quest to become an indie game developer

#100DaysOfCode#100DaysOfGameDevC#Illogical BaconPanic RoomScript-writingUnityVisual Studio

New Grid Label Tiles (Sort Of)

#PanicRoom Day 055

#100DaysOfGameDev R2D20
#100DaysOfCode R2D24

Well, they’re almost working. I was able to successfully create a Function that creates a composite Label Tile from three different digits (hundreds, tens, and ones) and puts it on the screen. Just getting this much accomplished took a lot of thinking and testing. The one thing I am not good with is my use of Parenting to keep all the generated game Assets organized, but I will figure it out once I get some other things resolved.

Mainly, I need to remove the instances of the old-style Labels I had tried to implement. It was good I still had them left in though because my spacing for the new system is off and I can merge the new code with the old code to get that under control much quicker and with far less effort. I’ve already done the heavy thinking on it! This is a good lesson in always retaining code until you’re ABSOLUTELY sure you no longer need it. I always have older versions of all my scripts available, but it’s still pretty handy to be able to copy and paste when possible.

Leave a Reply

Your email address will not be published. Required fields are marked *