I’ve moved on from making my adventure game in favor of a more advanced horror game that involves you running away from an enemy that’s constantly chasing you, I preferably want to make a 2d Nextbot, another problem, I can’t get the engine to work with transparent images, So I would like a little help with both… (K so little update, I got a transparent sprite in the world, he is an AI and moves around, only problem is there’s a problem with the sprite’s collision and he will not Chase the player.)
Nothing?
Hi @Suslendrw!
I’m not exactly sure what you try to achieve, but making a stable AI can be very complex.
If your AI is moving in a 3D environment, maybe my Basic enemy AI example project can help you.
https://playcanvas.com/project/870482/overview/basic-enemy-ai
I implemented it into my game and all it does is walk around in a circle and clip through walls…
You probably need to adjust some settings to make it stable for your game. All targets of the AI, for example your player entity, need a Target
tag.
ahh, I wish I saw this sooner, because that actually makes a lot of sense…