Harakat rebooted.
|
Today we reworked harakat mode. By a pretty big amount programming-wise. Previously it would allow players to slow down time in order to line up a maximum of three spells and cast them all at the end, certain constellations of spells would also be able to form combination spells. After today’s quality time with teachers we have reworked the harakat meter to contain three ‘orbs’ segments, each of these represents one charge of Harakat which is notably shorter than the earlier harakat length (~3 seconds). The idea is to use these as a way to cast a spell with a lower risk of getting hit by enemy attacks. This allowed me to shave off a lot of things in the code for setting up a list of spells to cast from Harakat, checking if they combined, and casting them all in a row, normally i probably would have been sad to lose so much work but I wasn’t happy with those parts in the first place. Because of this i changed the functionality of Harakat during the day so that it now slows down time to 0.1 speed for three seconds., the player is not slowed down, however it is rendered immobile. Harakat now ends when a spell is cast, when the meter hits the end of the current bar or when the player presses the button again. The meter also decreases to 2/3 and 1/3 when depleting rather than emptying entirely. I also intended to set up a event dispatcher to let the player recover Harakat meter when hitting or killing enemies but there is an issue where enemies cannot be hit which is taking up the availability of the AIGuard class. In other things, i worked on some minor changes to the HUD which took surprisingly long. On tomorrow’s agenda is making sure the Harakat bar accounts for player not being exactly at the full bars when activating Harakat, Setting up the event dispatcher for gaining harakat meter, setting up a change in the target marker which will incorporate a new design which will show enemy health, and finally rework the targeting system. Looks like it’ll be a long day, better rest up well tonight.. |