Posted October 29, 2019 by Hotaog
#Dungeon Siege #Game Design #sgd300 #Unity #player AI #Player #prop #animation
This blog will outline the tasks that was undertaken in sprint 5 and what was used in order to achieve this. This sprint I worked on the clean up of the player AI script, the prop animation script and the . This involved setting up attack freely, defend and hold fire for the Attacking Orders and setting up move freely, engage and hold ground for the Movement Orders.
This sprint I ended not using any resources as it was not necessary.
During this sprint i found out how to use timers in an effective manner. This allowed me to implemented a complex timer system into the prop animation script that only relied on one main timer. The prop animation script utilises modulo (%) to figure out what part of the loop that the animation is sitting at and then uses that knowledge to decide what action to perform and the duration for.