top of page

26/11/20 - Improved weapon movement
I wanted to improve the weapon's movement as originally they would stop instantly when the computer's mouse was out of range and jolted back into to position when in range, which made the game frustrating at times. With the improvements the weapons will now circle around the player based on the mouse's position when out of range. The weapons will also follow the player when out of range. This was done by having the weapons calculate their position based on the distance from the player. I did this so that the player could still control the weapons without having to worry about keeping the mouse near the player all the time.

bottom of page