2
« on: February 27, 2019, 03:53:33 pm »
Greetings, Stencyl-ing! I have been looking all over the forums for a post about this. I created a working Mario-like game in Stencyl, and I wanted to try adding artificial intelligence to the game. I want my AI to jump when it is about to fall off a cliff, but it is currently unable to. I want the AI to be able to beat any simple level that I build and probably will work on more complex neural networks in the future. The AI can detect when it needs to jump (I figured that out by killing the actor when it should jump). I have an actor called sensor (which is pretty much pointless now that I think about it), that is able to sense if I tile has the data "Air", which I have applied to all of the air tiles in my level. I have attached a few screenshots along with this post. In the screenshot of my scene, the black dot is where the sensor is sensing.