Peter Eldredge PPJ # 9

Settings Menu/UI Additions and Fixes - 2 Hours
New Incinerator Bot Behaviors - 1 Hour
Pause Menu UI - 30 Minutes

Pause Menu UI

The pause menu has been redone so it fits better aesthetically with the rest of the UI.

New Incinerator Bot UI

Incinerator Bots have gotten the rest of their functionality. They now have 2 different behaviors depending on distance. 250-1000 units from the player, the Incinerator Bot will rotate horizontally and move vertically to try and track the player. A raycast is fired in the direction of the Incinerator's movement, if it hits anything, the movement will be cancelled. The special parameters for the attack are the MoveSpeed and BufferDistance, where MoveSpeed is how quickly the Incinerator will track the player and the BufferDistance is the length of the raycast being fired. 

When the player is 250 units or closer, the Incinerator Bot will start its AttackBehavior. In this behavior, the bot will continue to rotate towards the player, but will not follow vertically. It also instantiates a heat trigger in front of it which increases the player's heat level. Any heat trigger may be slotted in or adjusted to change the size and HeaPerSecond. This heat trigger lasts for the duration of the time that the player is within 250 units. 

Settings Menu/UI Additions and Fixes

A lot of people had issues with the resolution dropdown not showing their available resolutions. This occurs because for some reason unity reads some monitor's refresh rate with decimals, and then when printed they are rounded down. However, when setting the resolution, it round up. This made creating that dropdown work for everyone and saving the correct info very annoying, and I ended up writing some really janky code to fix it. I believe it now works for everyone.

Additionally, the resolution will only update when "Apply" is pressed. This was something that bothered a lot of people for good reason.

Some people also wanted to invert controls, so I added an option for that in the settings that is saved. It uses the same toggle I made for the motion blur.

One last issue is that people were having problems with the settings defaulting to horrible values. Such as 0 vsync count and 10 fps. This wasn't happening to people on the team, but my assumption is that since I updated the saved settings object it is not being deserialized properly if people have old config files. My solution to this was to just change the config file's name, so that when people open the game the next time it will refresh their settings.

Upcoming

Final polish on gameplay features and the UI.


Comments

Popular posts from this blog

Peter Eldredge PPJ #1

Rex Christian Personal Postmortem

Ethan Scheidlmeier PPJ 9