the real granny is rated 13+ so u gotta be 13+ to play this guys, pls don't report or ill steal ur cookies random thing where you die in the start of it, dun know why, it's just like that, get over it already guys wasd, arrow keys, just 1 level, I just used a cheap way to make granny's ai but then built off of it to make it great, granny still gets stuck in infinite loops but that okay I think it adds more difficulty to the game :) Testing is done!!!!!! if granny gets stuck she will get out at some point no matter what
If your wondering why there is 3 lines instead of one that finds the player its because it makes it more real, because during testing I found that the line would stop because it hit the wall, but the player should have still been visible to the ai, and I'm going for best realness, so this was something I had to change, IDK if I should add better navigation for granny? but I'm still happy with it. if I think on how to make the navigation better nothing really comes up, I could just stea- borrow some of Griffpatch's code and use it, or I could beat up my brain till I get something, I guess both of those could work. O and if you don't know what the green line does is if the ai is to close to a wall it turns, ( almost forgot about that ). just added new thing where now it sets last seen player for granny, this makes it more real, wow this is working well and coming along great, New update: new way for granny to get unstuck, uses list and random turning. I think that I've added everything for testing granny's ai, so its done, took forever, and I'm really happy with it!!!!! I think the random turn thing makes it better cuz if not then granny is to predictable, crud, I just thought of something!!! how will the hearing part work!!!!, darn it!!! new update!!! like the 7th in the whole day, granny now pauses and waits few second for no reason, FOR REALISM!!! ( yeah I know ) New update: after pausing randomly granny now will point in new direction after that, also fixed dir tilting Granny ai design: red lasers point towards player if touching player granny chases player if the player goes out of sight granny runs to the last position the player was at green laser tells if granny is to close to wall granny randomly ( kinda randomly ) will turn different dirs grannys always turning a tiny bit so many words up there :0 there is 338 words up there and 1,804 characters!!!!!