AI = Determines how often Scratchy (the cat) will be able to move (higher AI = moves more often) Interval = How many seconds there are between movement attempts This is meant to be a simple, visual demonstration of a movement opportunity system, most famously used in the FNAF series. While I created this to test code for a future game I want to make, I decided to publish it so people can use it as a reference, a kind of tutorial, or maybe just to try it out idk lol.
!!See inside this project for code (with notes on how it functions/interacts with itself). Feel free to reference and use this code for any games you make!!! Disclaimer: This is just an early test, so I have not yet figured out how to implement this into a camera system (like in FNAF), but I do plan on publishing that test in the future. For now though, I hope what I have to offer helps!