[Behavior] moveto

Post your completed addons to share with the community

Post » Fri Mar 08, 2013 9:41 am

@porky

Great!
The usage of PushOutSolid behavior basically is only to prevent sprite moving cross solid object.
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Sun Mar 10, 2013 12:53 pm

@Rex,

I'm thinking about if you are interested to add "inertia" feature to the awesome Moveto behavior? It's kind of like add mass to the moving object and make the movement more realistic when change direction. It can be turn on/off in the behavior property panel. If you don't get what I'm saying, here is the picture:
B
14
S
2
G
1
Posts: 94
Reputation: 2,089

Post » Sun Mar 10, 2013 2:27 pm

@porky

It is better to make another plugin to support this feature with way point. I will add it in my todo list.

In moveTo behavior, sprite will move to target B directly if user assign target B before sprite hit target A.rexrainbow2013-03-10 15:55:43
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Sun Mar 10, 2013 6:57 pm

Awesome:) I'm looking forward to the new plugin
B
14
S
2
G
1
Posts: 94
Reputation: 2,089

Post » Mon Mar 11, 2013 3:03 am

@porky

@Pode had made a SplinePath behavior, you might try it first.
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Sun Apr 07, 2013 3:53 pm

@rexrainbow did you have TouchMouse plugin? i need this plugin to open two projects
B
94
S
19
G
34
Posts: 1,840
Reputation: 27,988

Post » Sun Apr 07, 2013 4:07 pm

@delgado

rex_touchmouse
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Mon Apr 15, 2013 3:06 pm

@rexrainbow

I'm not sure if this is a bug but I encounter an issue while using MoveTo behaviour.

When I use the MoveTo.MovingAngle value it does not work properly.

Example: I move a sprite to the position of another sprite. Now I want to use the MovingAngle to change the position of the sprite or perform another moving.

When I try to do so I get always -1 as the MovingAngle. Strange: However when I use a text object and output the MovingAngle every tick it works.

You can see the sample .capx as my explanations are not always easy to understand :D
http://dl.dropboxusercontent.com/u/55303248/movetoissue.capx

The every tick event is disabled ? false movement
If you enable the event again ? sprite moves just like intended

Would be great if you could take a brief look.

Thanks

B
6
S
1
Posts: 16
Reputation: 464

Post » Tue Apr 16, 2013 12:34 am

Update

moveTo behavior , to get moving angle when moving hit target.


@Raziel

Thanks. I had fixed it. Please download it again.
The original problem is, the moving distance is 0 when hit target event was triggered.rexrainbow2013-04-16 00:35:02
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Thu May 02, 2013 6:28 pm

Update

[Behavior] moveTo - support save/load system.
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 3 guests