delgado
runawaydelay was supposed to do this, but i left out the code for some reason. I just put it back in.
It stops the movement for the amount of seconds you set runawaydelay to after it either hits a solid object or reaches max distance.
i trying change statistics runawatdealy (0.1-100) and my sprite move always smoothly without rest
download the behavior again, it should work after you do that.
That's pretty cool plugin!
I tried it and i found something weird, when you set Runaway Behavior 8 way to Down, then it results right, up, left, 3 kinds of diagonal. I think it could be a bug...
Anyways, there a way to remove diagonal?
Joannesalfa
I have a update which might fix the problem since i could not duplicate your problem. Download the plugin again and try it again.
As for removing diagonals from the behavior directions of up, down, right, left. I was trying to make the movement random and sporadic. I will add more behavior directions that will include what you want.
thanks i liked and its helpful for enemies ^^
zsangerous
Just updated again. I changed the previous Up, Down, Right, Left to Up 3-way, Down 3-Way, Right 3-Way, and Left 3-Way since those direction do move the object in 3 directions. I also added Up, Down, Right Left which just move the object in that direction. Let me know if there are any bugs.
rfisher i still didn't use it but ill ^^ just a question i can make this behavior start when i do something or it always do that when start of layout?? also it there a way to loop like go right,left,right,left...
Yes, because you can disable the behavior so you can turn it on and off when you want.
nice , ill use it ^^ seems it will lower the events that i have used :P
RPG NPC anyone? ;)
Great job.
Great work rfisher. I will make use of this eventually. <img src="smileys/smiley1.gif" border="0" align="middle" />
I got a update that adds collision registration to the behavior and changed the code so that it conforms to the behavior template changes.
Develop games in your browser. Powerful, performant & highly capable.
The Behavior wont work for me it says "Found 'GetPluginSettings' global but it is not a function."
InvaderX
please let me see the CAPX so i can take a look at whats going on.