Ghoul Prefab

COMP352 - The Lost Child


The ghoul object. The ghoul will act as the main entity in the game which the player will have to avoid. Although there were many choices to choose from, I decided to go with the ghoul as it suits the theme of the dungeon and definitely frightening enough when encountered. However, we needed to animate it and make it into a prefab. To execute the animation part, we had to put in more time and effort and end as a result, it paid off. The main behavior of the ghoul is when it senses the player around, it will follow them. If the ghoul gets in contact with them, they lose the game. 




The animation of the ghoul was achieved through much complexity. We used the 'animation' component where it included a bunch of actions such as walk, run, jump, attack etc. but we only needed the walk animation. Nav mesh agent was also added in which determines areas that the ghoul can access and cannot access. A growling sound effect was also added in and a script to chase the player when they are tracked. 


                   FRONT                                                                                                               BACK

                     RIGHT                                                                                                                   LEFT
   



Below is a list of videos showing its animation of how the ghoul moves. 



FRONT



BACK


LEFT


RIGHT


Comments

Popular Posts