Hi everyone. i'm stuck on my project, i don't know how to solve my problem, and what tool should i use.
I have a sprite "X". the position of this sprite is 500,500 , and i want to be able to move that sprite to multiple exact positions (1 position =1px) , depending of clickable objects. for exemple, when i click on "a" object, the sprite have to move to point A, when i click on "start"object, the sprite have to move to start position, but i also want to be able to move it to B C or D position.
i've tried to add a bullet behavior on my object, set bullet angle to 210�, then stop after the bullet have run more than 500px, and inverted conditions to move object to start position. unfortunately, it wasn't a good idea, aiming was bad. so i've tried to set angles and compare X and Y position, but the problem is the same, not really good aiming, and going back to start was impossible: i miss the spot.i've thinked about the trigger " is overlapping another object", but with the lack of precision, after some movements, i missed the object and scrolling were going far away...Anyway, having less precision, like using "x >= 500" triggers, won't work, because of multiple positions it's really important to perfectly spot the pixel. how can i do this? should i use pathfinding ?
i'm searching in the forum and tutorials for 3 hours now, and will continue until i find the best way to do this.
thank's for helping me. any idea can help!