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
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've made a system to make the enemy follow my player on a 4direction movement base and avoid walls, it works ok for 1 enemy but as soon as I try to clone it and add some others bad guys, things get messed up.
Here's my capx https://dl.dropboxusercontent.com/u/55828593/simpleAI.capx if anyone can help.
Develop games in your browser. Powerful, performant & highly capable.
Your global variable "dir" should be an instance variable of the ennemy sprite to be unique to each ennemies
thanks, how I missed that >_<