[behavior] rex_LJpotential (attracting or rejecting objects)

Post your completed addons to share with the community

Post » Thu Feb 19, 2015 2:04 am

Amazingly fast, thank you so much for your incredible support. :)
Made Cosmochoria - www.cosmochoria.com
Currently working on Slayaway Camp - www.slayawaycamp.com
B
27
S
8
G
3
Posts: 384
Reputation: 5,020

Post » Thu Feb 19, 2015 6:10 am

80bit wrote:Amazingly fast, thank you so much for your incredible support. :)

You are welcome. It's my fault that missing this test case of saving.
B
108
S
26
G
272
Posts: 4,472
Reputation: 152,279

Post » Wed Feb 25, 2015 2:15 pm

Great addon as always @rexrainbow.
Can you make this work with the official tilmap plugin?
Or is there a way to make it work already?
B
69
S
28
G
7
Posts: 85
Reputation: 7,521

Post » Wed Feb 25, 2015 2:59 pm

@EpicPixel

This behavior would not change the position or angle of instance. So it could be applied to sprite or tilmap object.
B
108
S
26
G
272
Posts: 4,472
Reputation: 152,279

Post » Wed Feb 25, 2015 5:48 pm

@rexrainbow
Sorry, I'm not sure if i understand what you mean?

I made a .capx that shows what i wan't to achieve.
But I want to achieve the same thing without using the "EdgeBlocker" sprite.
Because I fear that the EdgeBlocker sprites can have a performance hit when the levels get bigger.
If this isn't possible without using the EdgeBlocker sprite I'll do it with them.

btw it's super fun to play around with this addon :D
You do not have the required permissions to view the files attached to this post.
B
69
S
28
G
7
Posts: 85
Reputation: 7,521

Post » Thu Feb 26, 2015 2:23 am

@EpicPixel

I got it. You want to treat tilemap as multiple sprites for all tiles in a tilemap object.
It might be possible, I would try.


Edit:
Sorry, I thought it might be better to place "edge block" sprites.
B
108
S
26
G
272
Posts: 4,472
Reputation: 152,279

Post » Thu Feb 26, 2015 9:21 am

rexrainbow wrote:AI of Race car v2
It seems that using attracting only and put them carefully could help race car moving smoothly. Some attracting point does not put well in this demo.
Add rejecting might be more smoothly I thought.

that is so sick.... :)))) i feel like a kid when i see the computer racing itself the possibilities with it my mind is overjoying right now... awesome you are awesome sir... pray to you as to a GOD was looking for this kind of AI long time ago :D
B
78
S
23
G
69
Posts: 1,353
Reputation: 43,985

Post » Thu Feb 26, 2015 10:34 am

@rexrainbow
Thanks for trying , i'll go with the sprites then.
When i disable collision and visibility of the sprites it shouldn't be too bad.
B
69
S
28
G
7
Posts: 85
Reputation: 7,521

Post » Thu Feb 26, 2015 10:52 am

@EpicPixel

Performance in mass of instances is another problem.
I try to solve it by this plugin which destroy instances outside of masked area, to reduce the amount of instances.
B
108
S
26
G
272
Posts: 4,472
Reputation: 152,279

Post » Thu Mar 12, 2015 8:10 am

@rexrainbow

1. can this be used for create boids (flocking)?
2. can it be used with pathfinding?
B
26
S
11
G
2
Posts: 669
Reputation: 5,038

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 2 guests