Less productive

Not as good day today. I spent the morning setting up the basics for the game’s Harakat mode where the player slows down time and enters a state preparing for a large Area of Effect attack. A full description will be posted when the details have been fixed.

For today I set up the basic triggers for activating the mode. First disabling the player’s movements as the character is to be stationary during the process. Luckily this does not disable input for the camera which will save me some work. Secondly making the Harakat meter tick down when in the mode and return to normal play when it ends. Thirdly slowing down time. I used the function for slowing down time (Set Global Timescale) during the last year’s project so I had some previous experience with it.

I spent some time, maybe a little bit too long setting up two classes to test the slow time. One falling sphere which resets once it falls far enough and one cube spinning around it’s own axis. The sphere fell slower in the slowed time as intended but the cubes proved more difficult. At it turns out their function for adding a small number to their actor rotation is not affected by the global time scale. This showed me a potential future problem which I may need to take into consideration.

Finally at the end of the day an issue with the source control lead to my work during the morning being removed. At least most of it was research I guess.