Monday, 24 December 2018

Week 14

this week after struggling to find out why the zombies would not animate but do damage i looked at the code and realised that the animation part of the code last listed as static so it only allowed one zombie to animate till multiple zombies was on the scene. so i removed the static part of the code then the animation worked on them all.

Then i started to do research into how to make a spawner. I managed to get the spawner to spawn zombies but the zombies wasn't causing damage to the player so I got the zombies that caused damaged In to the spawner so when I ran the game and the zombies from the spawners started to cause damage to the player but I stumbled onto a error that occurs when the spawner spawns a zombie the error in the image below kept occurring.







After getting the error and I couldn't figure it out so I messaged a mate so he could lend a fresh pair of eyes on the situation. So after getting fresh eyes on the subject he suggested to look at the spawner and the zombie. After looking at the zombie I put the script on a part of The zombies body as well as the zombie it self so after removing the script the error went.




No comments:

Post a Comment

Week 31

This week i went a head and created another maze and looked for a troll assist that i could use for a mini boss during the maze.