XaiJu
smutcube
smutcube

patreon


Saturday Update - Return of the Queen

This week I rebuilt Fredrika's AI almost from the ground up. The code driving her AI was a mess of spaghetti code and band-aid logic from two years of adding new features and settling for "good enough". Her AI functions identical to before, with the exception of the changes made to difficulty that every bot received. Story mode and Foxy's game over are still broken, story mode will be fixed this week while I start programming in the Christmas nights.

One minor change I've made is that Fredrika will attack the player more frequently in proportion to the number of lights turned off. The previous AI would attack the player 50% of the time with a small cool down. The exact formula for the new attack pattern is driven by a value connected to the difficulty level of Fredrika (0 is 1, 0.65 is 2, 0.90 is 3). 

(1-3))/Number Of Lights on + (1-3).

With this new formula Fredrika will attack the player 1/10 times on easy with all the lights on and 3/4 times on the hardest difficulty with all but one of the lights off. This closes a loop hole of keeping just one light on at a time to keep Fredrika occupied since this will now cause her to attack the player much more frequently. These numbers are likely to be rebalanced as Fredrika seems pretty easy at the moment.

Fredrika's new highest difficulty also increases her max speed to 3.5, compared to her old  max of 2.0. She also won't very long in the hallway for you to close the door. On harder difficulties you will need a much quicker reaction time to get that door closed in time.

Comments

The build has been updated, thanks for the report!

SmutCube

Wow that's creepy, I'm building a build and I'll have it uploaded in 20 minutes or so.

SmutCube

Fredrika is walking in pace in the main menu and making the walking noise.

Eric Hslew


More Creators