I have a 2d platformer game, and I want to make an AI for one of my enemy's that doesn't use th bullet add-on. I want it to follow player, jump when it gets to ledge, and when it can't see player I want it just to wonder back in forth. I was also wondering how you could spawn it, where it would come out of a cave. I want it to only spawn 10. I already came up with the instance variable that starts at 10 and takes away one every time it spawns one. But I do t know how to make a censer that knows when they are all dead. Plus when I set it to spawn it doesn't work. The main focus is the AI though. So please give me a link to one already made, and if there isn't one already made that meets those requirements please tell me how to do it.