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
I'm wondering if anyone has figured out how to use the platform behavior to jump to a specific position or sprite with a different starting position each time. (ie. if an enemy is chasing you and it jumps back to it's original location to start a new attack)
Here's an example of how I've implemented this in my own games:
This is actually pretty smart. Thanks, Suikama!
Develop games in your browser. Powerful, performant & highly capable.
No problem. Also if you want to jump back to be more of an even arc, try something like creating a variable at the time you want to jump that is equal to Self.X - StartingX, then move the sprite (that variable)/(number of pixels to move per frame).