New Targeting for Boss
AUTHOR: MYLES DITCHARO
ISSUE: Our boss had an issue where when using his chop attack in phase one, he would sometimes send a hitbox off the stage depending on where the player would stand. This was to be expected because the 3D calculation to get the chop location was really simple. All it was doing originally was applying an offset to wherever the players current position is. This lead to a sort of choppy unnatural feel.
SOLUTION: To fix this issue, I had to figure out a way to add randomness to the chopping while keeping it within the stage boundaries. To achieve this, before each chop, I get the player position. With the current position, I use that as a center point for getting a random point within a bounding box with set extents. This on its own gives a more random feel; however, it still doesn't solve the attacking out of bounds issue. To remedy this, I take the new random position and clamp it between a min and max that I get through an actor placed into the level to determine where we want the attacks to land. After this math, I have the start of the effect I want to achieve. With some more changes to the randomness, this attack should start to feel more challenging and intuitive for the player
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.