[Behavior] moveto

Post your completed addons to share with the community

Post » Fri Dec 11, 2015 11:32 pm

hi guys, i tried to download rex's moveTo plugin and installed it.
but when i open the example file it shows this error:
Image

what do i do?

EDIT
ok now i see what went wrong...i put it into the plugin folder when i should've put into the behaviour.

my mistake!
B
6
Posts: 43
Reputation: 342

Post » Sat Dec 12, 2015 1:11 am

@rexrainbow It appears that the MoveTo.HitTarget event will not work using a Family.MoveTo behavior. Any way to code around that?
B
13
S
4
Posts: 280
Reputation: 1,566

Post » Wed Dec 23, 2015 9:48 pm

Hi Rex,

I'm very grateful for this behaviour. So, to thanks it, I did a c2addon for it:
https:/ /mega. nz/#!AdJxRAAa!HaXda6NPBNdNpCaaaMgy-8Wx2cfGfbaGnS28LDuEFcE

You can use winrar (for example) to see inside, or change the name extensions .c2addon to .zip
And of course, why not put it in c2addon mode? You only will need change the version in XML with Notepad.

I hope you'll be pleased.

cmee
B
8
Posts: 34
Reputation: 512

Post » Thu Dec 24, 2015 12:28 am

@cmee

Uses this tool to install plugins/behaviors. It could download/unzip/put them into right folders.
B
97
S
22
G
176
Posts: 4,111
Reputation: 103,025

Post » Wed Dec 30, 2015 6:11 pm

Can I add curve to it?
B
85
S
31
G
22
Posts: 384
Reputation: 18,587

Post » Thu Dec 31, 2015 2:31 am

@jogosgratispro

moveTo behavior only could move object on a straight line.
B
97
S
22
G
176
Posts: 4,111
Reputation: 103,025

Post » Sun Jan 17, 2016 12:52 pm

@locohost

Sorry for missing this reporting.
I had not found this bug in my testing, condition: on hit target will be triggered as usually.
B
97
S
22
G
176
Posts: 4,111
Reputation: 103,025

Post » Sat Jan 23, 2016 9:13 pm

There any method to not able to move if touch any solid?
B
8
Posts: 34
Reputation: 512

Post » Sun Jan 24, 2016 2:50 am

@cmee

Two possible solutions
1. uses private variable to store the state of solid
2. I add a condition:Is solid in rex_spriteext behavior ( sample capx )
B
97
S
22
G
176
Posts: 4,111
Reputation: 103,025

Post » Sat Jan 30, 2016 10:54 am

Hello

I modified your plugin to make it stop moving when hitting a solid object. Would you like to add it to your code base, and if so how do you want it delivered to you?

Thanks
Erik
B
3
Posts: 1
Reputation: 177

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest