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
Game development stories & opinions
I'm still fresh with this program, and I was wondering how one would go about making it so that an object or sprite ( specifically enemies ) do not start moving or anything until the player is within a certain distance from the enemy, or until the enemy is on the player's screen.
The simplest way would be to use the built in 'is on screen' condition
+If Enemy is on screen >move enemy
I left 'move enemy' ambiguous because it depends on how you are moving him, a behaviour? platformer or 8direction? or your own movement with events?
Platformer, I tried "is on screen" condition before, but it didn't work. Is there something else I have to add ?
Develop games in your browser. Powerful, performant & highly capable.
what was the action that followed?
I suspect that the condition was being met fine, just the action wasn't right..
Right now I have it as:
System, on Start of Layout: Set Sprite Custom Movement to Disabled
--- Sprite, is visible: Set Sprite Custom Movement to Enabled
Set Custom Movement Horizontal Speed to 100