I've been looking at construct for months, but this is the first time I actually tried something different than the tutorials.
In short, this is what I was trying to make: A Zelda-esque game where to defeat an enemy you need to pull them with a wand and repulse them into a wall/other enemy.
This is how the mechanic goes:
1. Clicking on an enemy will pull the enemy towards you.
2. As long as you hold your click, you can still move and the enemy will still be drawn into you.
3. When the click is released, the enemy is repulsed into whichever direction you were aiming. The repulse power is inversely proportional to the distance between you and the enemy when released -- that is, the closer the enemy is to you, the more powerful the repulse power is.
However, I barely managed to complete the first step. When I clicked an enemy it is drawn to me (using setForce) but I am clueless on how to make the enemy keep drawn into you while you hold the mouse click.
I kinda get the concept (as long as an enemy is drawn to you AND LMB is down, pull the enemy towards you) but I don't know how to apply it in Construct.
Thanks in advance