Page 1 of 1

How do I simply move a sprite from A to B?

PostPosted: Thu Jul 14, 2016 5:45 pm
by Congrats2u
Hey Guys!

So this is maybe a simple question for you, but ive played around with the possabilitys i had to move a sprite from A to B and nothing worked. After it reaches B it has to spawn back to A and "travel" again from A to B - and so on. Its should be just a simple movement, whitout angles or something.

Which would be the easiest and most performant way to do this?

Thank you very much!

Re: How do I simply move a sprite from A to B?

PostPosted: Thu Jul 14, 2016 7:08 pm
by R0J0hound
I hear good things about the "move to" behavior.

Re: How do I simply move a sprite from A to B?

PostPosted: Fri Jul 15, 2016 5:13 pm
by Congrats2u
Yes thanks i agree - i heared good things about it, but i wish i could say i know where to find the "move to" behavior. Do i have to install a plugin?

Re: How do I simply move a sprite from A to B?

PostPosted: Fri Jul 15, 2016 7:14 pm
by 99Instances2Go
behavior-moveto_t63156

But it is easyer to install @rexrainbow 's repo manager. Do not forget to run it as admin.
It installs his plugins and behaviors on the right place. Pretty convienent to update the plugins too.

app-my-plugins-repository-v2_t69775

Straight download:
https://skydrive.live.com/redir?resid=7 ... 51glaa8VVE

Re: How do I simply move a sprite from A to B?

PostPosted: Tue Jul 19, 2016 11:40 am
by Congrats2u
@99Instances2Go Thank you for this link, but when i try to install the plugins.



You know youre my personal "construct2Mentor" ;) - so can i ask you this question too?

Link
scirra.com/forum/viewtopic.php?t=179256

Re: How do I simply move a sprite from A to B?

PostPosted: Tue Jul 19, 2016 11:59 am
by 99Instances2Go
Dont see a link to an image ?

Re: How do I simply move a sprite from A to B?

PostPosted: Thu Jul 21, 2016 8:26 am
by Congrats2u
@99Instances2Go ops that was a misstake, because i solved the problem and forgot to delete the part where iam talking about the link :)

Sorry for that confusing thing.

Re: How do I simply move a sprite from A to B?

PostPosted: Mon Jul 25, 2016 4:18 pm
by Congrats2u
@99Instances2Go
@ROJOhound

Hey there! So iam using the moveTo Plugin from rexrainbow and it works pretty good. Did you guys had some experience with that plugin? Can you tell me how to change the destination of an moving object? If it reaches on node it should move to another and so on (like track or pathfinding).

Thank you very much!

Re: How do I simply move a sprite from A to B?

PostPosted: Mon Jul 25, 2016 4:49 pm
by blackhornet

Re: How do I simply move a sprite from A to B?

PostPosted: Fri Jul 29, 2016 4:22 pm
by Congrats2u
thank you very much for your inputs, it helped me a lot and i could solve the problem :) thumbs up to you all!