Posted March 16, 2021 by Mark Emanuele
Happy Monday!
Finally got started on refactoring the game's code, starting off with the customer's functionality. I began by creating a spawner off screen that will create the NPC. Once that was in place, I began taking the 'Customer' prefab that I made and added a list that would grab all of the 'NPC' sprites that I currently have and store them. This will eventually be used to greater use once I make a whole lot more sprites. When the customer is instantiated, it will take a sprite from the list and use that as the alien customer. I ended off with getting the NPC to move across the screen towards the register but they seem to keep going passed it. That will be tomorrows work.
Regards,
Mark