[behavior] rex_LJpotential (attracting or rejecting objects)

Post your completed addons to share with the community

Post » Sun Jan 31, 2016 12:18 am

Looks cool.

Trying to find where to download the behavior from. Says in the OP that included in the capx.

I just can't seem to find it lol.

Edit:
Got it it the program. Don't know why it wasn't showing up even after restart.

Edit2:
Yea this is freakin sweet. Appreciate it. This will be used with my first android game if it exports right.
B
29
S
5
G
5
Posts: 39
Reputation: 5,991

Post » Sat Mar 05, 2016 12:07 pm

Here is another simple way to make car AI without any 3rd party plugins -
Demo ( capx ),
Demo2 ( capx )
B
108
S
26
G
259
Posts: 4,432
Reputation: 145,687

Post » Sat Mar 05, 2016 5:42 pm

Zombie hordes running from attractor to attractor as you pick 'em off. Probably use this in a tower-defense clone as well. Thanks for the research, rex...
B
17
S
4
G
3
Posts: 44
Reputation: 2,827

Post » Tue Jul 19, 2016 2:26 am

so AI means every round they drive better? the v2 is really cool.
B
79
S
28
G
108
Posts: 194
Reputation: 59,906

Post » Mon Feb 20, 2017 7:39 pm

@rexrainbow would this be useful for recreating Jill of the Jungle's knife? https://youtu.be/t7E-P4VJbdg?t=45

Sometimes, her knife can't find it's way back to her and falls to the ground: https://youtu.be/t7E-P4VJbdg?t=23 but this wouldn't have that problem really, would it?
B
41
S
12
G
14
Posts: 1,117
Reputation: 11,253

Post » Mon Feb 20, 2017 9:00 pm

Zebbi wrote:@rexrainbow would this be useful for recreating Jill of the Jungle's knife? https://youtu.be/t7E-P4VJbdg?t=45

Sometimes, her knife can't find it's way back to her and falls to the ground: https://youtu.be/t7E-P4VJbdg?t=23 but this wouldn't have that problem really, would it?


It might be interesting to try but you would be better off using the faster/simpler position check that game uses. I think the weapon getting stuck is a feature, but you can get around it it by making the weapon warp through solid obstacles or not even colliding with them at all during the return phase.
Image
B
29
S
9
G
3
Posts: 170
Reputation: 3,297

Post » Tue Feb 21, 2017 5:32 pm

gameglaux wrote:
Zebbi wrote:@rexrainbow would this be useful for recreating Jill of the Jungle's knife? https://youtu.be/t7E-P4VJbdg?t=45

Sometimes, her knife can't find it's way back to her and falls to the ground: https://youtu.be/t7E-P4VJbdg?t=23 but this wouldn't have that problem really, would it?


It might be interesting to try but you would be better off using the faster/simpler position check that game uses. I think the weapon getting stuck is a feature, but you can get around it it by making the weapon warp through solid obstacles or not even colliding with them at all during the return phase.

Is there a way of having a proper boomerang system? I'm not keen on it getting stuck, I'd rather rely on the mechanics of one usage per return of the weapon rather than worrying about it getting lost. I'm not sure how to lerp it away from me and return with the behavior, though.
B
41
S
12
G
14
Posts: 1,117
Reputation: 11,253

Post » Wed Feb 22, 2017 2:01 pm

@rexrainbow I guess I could shoot out an axe with a bullet or a car movement behavior and attract it, say, 200px away from the player. Then when it slows to a halt, set it's attraction to be the player. Not sure how to handle the attraction being obscured by a solid, though.
B
41
S
12
G
14
Posts: 1,117
Reputation: 11,253

Post » Mon Feb 27, 2017 12:40 am

rexrainbow wrote:Here is another simple way to make car AI without any 3rd party plugins -
Demo ( capx ),
Demo2 ( capx )

Is it possible to mod these super simple examples and add a reject method? So, you could have obstacles the car can avoid?
B
41
S
12
G
14
Posts: 1,117
Reputation: 11,253

Post » Tue Feb 28, 2017 3:01 pm

Here we are, an example: https://www.dropbox.com/s/tyoo2tge1p2ti ... .capx?dl=0
It's basic, but the knife DOES come back, unfortunately it doesn't find it's way over the tiles, because I did this without the plugin and have no idea how to set it up to avoid solids? Disable 14 & 15 to watch the knife bumble about hopelessly.
B
41
S
12
G
14
Posts: 1,117
Reputation: 11,253

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: R0J0hound and 3 guests