[Behavior] moveto

Post your completed addons to share with the community

Post » Sun Dec 16, 2012 12:58 pm

@cow_trix , @zenox98

Uh, yes. The github does not allow user upload file anymore, so I change the download link.
B
110
S
28
G
280
Posts: 4,487
Reputation: 156,566

Post » Sun Dec 16, 2012 3:25 pm

Thank you rexrainbow!!!
B
9
S
2
Posts: 20
Reputation: 1,392

Post » Thu Jan 17, 2013 4:42 pm

Hello Rex, when an object or family has more than one MoveTo behavior it seems that their speeds are added.

Example:
Object1 has behavior MoveTo with 200 speed and another MoveTo2 with 400 speed.

Object2 has only behavior MoveTo with 200 speed.

All objects with 0 acceleration and deceleration.

If you move them at the same time to the same position using the MoveTo with 200 speed, Object1 will go faster than Object2 (200+400 probably).

Is this intended or bug? Thank you.
Xavier2013-01-17 16:43:11
B
75
S
29
G
17
Posts: 256
Reputation: 15,250

Post » Thu Jan 17, 2013 11:49 pm

@Xavier

MoveTo behavior will get moving distance every tick by speed setting, but it will not remember the start point of current tick.
So it will move twice (or more) if there is more then one moveTo, one solution is keep only one omveTo activated.
B
110
S
28
G
280
Posts: 4,487
Reputation: 156,566

Post » Sun Jan 27, 2013 11:26 pm

@rex

First of all, I goddamn love your plugins and behaviors!

I just checked your MoveTo-behavior and maybe noticed a bug.

I made a simple platform character and added him the MoveTo-behavior.
With "E" he moves fast 300px to angle 0... works great so far.
But if you jump and click "E", or if you move into a solid object the character begins to bug.

Example MoveTo bug

And most of your download links are wrong, the ".7z" is missing at the end.

Hope you'll find some time so fix it :)
B
20
S
3
G
2
Posts: 34
Reputation: 2,675

Post » Mon Jan 28, 2013 3:58 pm

@Geru

The moveTo behavior and platform behavior are collided. MoveTo will stop until it reaches the target, so it will try to move sprite every tick.
B
110
S
28
G
280
Posts: 4,487
Reputation: 156,566

Post » Mon Jan 28, 2013 4:52 pm

@rex

oh yeah sorry, you're right... :)

So if I run into a solid, I need detection...
And for jumping+running I'll need another solution, cause your MoveTo needs X+Y for "onDestination" and Y won't be the same if I jump...

Well, gonna try this out

Thank you anyway :)
B
20
S
3
G
2
Posts: 34
Reputation: 2,675

Post » Fri Feb 08, 2013 12:20 am

I am excited to try this behavior, but the download won't unzip. It has the proper extension... Where can we download this now?
B
6
Posts: 13
Reputation: 782

Post » Fri Feb 08, 2013 2:40 am

@pinkpassion

I had fix these link in first post. Or you could use my new download tool.
B
110
S
28
G
280
Posts: 4,487
Reputation: 156,566

Post » Sat Feb 09, 2013 11:41 am

Update

- All links of plugin are changed.
- Fix Touch wrap's bug.
B
110
S
28
G
280
Posts: 4,487
Reputation: 156,566

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 2 guests