Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I'm working on a top down space shooter for a game jam. I'm trying to have it when a certain enemy spawns in to chase the player until collision. My main issue is how do I set up the enemy AI to follow the player. I've tried multiple things but I can't get it to work. What am I doing wrong? Thanks in advance.
What did you try? You can set the enemy as a bullet that always sets angle of motion towards the player, or you can use pathfinding behaviour.
Develop games in your browser. Powerful, performant & highly capable.
Nevermind I figured it out. I used the "Move To" behavior and set it so that every tick the enemy would move to the X and Y player coordinates.
Here is an image of what I did:
Yep moveto also an option. Also set angle toward player and 'move forward' works.