December 20, 2019
I was the team lead for this project and was tasked with keeping our design document and rule-sheet were up to date, as well as making sure everyone knew what they were working on and when it needed to get done.
Using a simple Lerp and Quaternion Slerp function, I added in some cool menu in-world menu transitions.
A challenging math problem I faced was getting arrows to track on the outside of the screen and point towards objectives. The algorithm I went with utilized clamping functions so that the arrow would also stay with the object once it got close. The fade out was also added as a nice aesthetic change, but mainly to hide the quickly changing direction that looked bad when you got close.
One of the main mechanics of this game is that both player share the same sword that they pass between back and forth. We didn’t want the sword to just vanish and reappear, so instead I created an animation between the 2 cameras.
To achieve this, the position of the sword is first translated into viewport coordinates.
then animated to move using viewport coordinates
during the animation the coordinates are translating back into worldSpace depending on which side of the screen it’s on. Along with some additional effects