Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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
How can i make a sprite move left and rigth but just rigth when it sees the player? If you make events for both it keeps moving left and rigth even after it seen the player. How can i make it translate from moving left and rigth to moving just rigth. I also want to know how you can alter events depending on which side the player is in contrast to the enemy. I want the enemy to charge to the left if the player is on the left of the enemy and to the rigth if the enemy is to the rigth of the enemy.
Develop games in your browser. Powerful, performant & highly capable.
You can add invisible big sprite to the player, and if the enemy overlap this sprite then will follow the player, if not will charge left and right.
i think this is the best idea, event best of using line of sight.