Help - Moving an object to another object smoothly.

For questions about using Classic.

Post » Fri Oct 29, 2010 9:43 pm

Hey,

Super new dude here but I'm trying.

I need to move an object around the screen without it "popping" from place to place.

See the only thing I understand how to do is move the object using "set position" relative to another object or X,Y coordinate. I want the object to move from A to B in a fluid motion, almost like a ball but hovering. I can only make it "snap" from A to B instantly. Any ideas?

Thanks in advance.
B
3
G
3
Posts: 13
Reputation: 1,201

Post » Fri Oct 29, 2010 10:05 pm

Oh... RTS Behaviour = Fixed.
B
3
G
3
Posts: 13
Reputation: 1,201

Post » Sat Oct 30, 2010 1:18 am

I think rts behavior is overkill
and in any case, no harm in learning another way
here's two methods with either bullet behavior, or no behavior at all, and just the move sprite at angle method

smooth movement is achieved by scaling speed to distance in both instances
purple is bullet behavior, green is no behavior
http://dl.dropbox.com/u/1013446/follow.cap
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Tue Nov 02, 2010 8:10 am

Hey thanks,

These are both good methods to know. I tired it but stuck with the RTS because it has path-finding.

Any ideas on that?
B
3
G
3
Posts: 13
Reputation: 1,201


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests