Frame Rate Drops with Blender Attack
AUTHOR: Myles Ditcharo
ISSUE: During the blender attack of the Craig boss fight, the frame rate would drop incredibly low; however, the problem was that the frame rate would only start to drop after the fight had been going on for a while. This meant that the way the blender attack was programmed wasn't causing the issue. Another thing I thought it could be was how the food was being stored and destroyed. For the attack to drag the food, the food must be stored in a basket array. The food is added to this array when it comes into contact with the basket actors collider. When the food is destroyed by the Craig's blender, it removes the food actor from the basket array to avoid referencing null objects.
SOLUTION: I found that I hadn't taken into account the edge cases where the food was being destroyed by other means. there are two other scenarios where food that has entered the basket array are destroyed. These are the self destruction after a period of time, and when the food hits a death barrier on the floor. During these edge cases, the food was being destroyed but not being removed from the basket array, so the blender attack was referencing null objects when trying to pull in food items. This is why after a longer period of time, the attack was slowing framerate more and more.
Shutdown
Status | Released |
Authors | TheSenate2002, ekicks0, Vrixic, CameronEuston, Boomishhe, mditcharo |
Genre | Puzzle, Adventure |
Tags | First-Person, Singleplayer |
Languages | English |
More posts
- The FinallyApr 27, 2023
- Post Mortem VideoApr 27, 2023
- Fixing issue with Hud not being validApr 27, 2023
- Finalization of GameplayApr 27, 2023
- Circuit Puzzle ChangesApr 27, 2023
- Touching Up SoundsApr 22, 2023
- Level MusicApr 22, 2023
- Getting people to play the gameApr 21, 2023
- Tuning the Lighting in Level 3Apr 21, 2023
- Static Mesh Mass ScaleApr 21, 2023
Leave a comment
Log in with itch.io to leave a comment.