Grid behavior

New releases and general discussions.

Post » Sun Mar 01, 2009 11:55 pm

The rts behavior has an option to have the object avoid other objects. I was wondering if we might add something like that to future builds for the grid movement.
Currently the behavior just lets the objects overlap one another.
Anyway this cap shows what I'm talking about.
[url:20guoa5m]http://www.mediafire.com/download.php?3ovumtmjoy3[/url:20guoa5m]
Image Image
B
161
S
48
G
91
Posts: 7,359
Reputation: 67,273

Post » Mon Mar 02, 2009 1:25 am

It won't let you move into objects that are marked solid, if that's any help.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Mon Mar 02, 2009 1:36 am

That helps a little, but "solid" doesn't work too well with other behaviors, they tend to get a bit jerky. It kind of needs an overlapping at offset call, you can do that manually, but how to implement that is confusing. Perhaps is overlapping set direction to random unless its other objects direction?
Image Image
B
161
S
48
G
91
Posts: 7,359
Reputation: 67,273

Post » Mon Mar 02, 2009 1:45 am

Okay, fair enough, I'll add a field to specify a family/object type to avoid for the next build.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Mon Mar 02, 2009 2:13 am

Cool thanks!
Image Image
B
161
S
48
G
91
Posts: 7,359
Reputation: 67,273

Post » Mon Mar 02, 2009 2:49 am

Thanks! ^^
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
71
S
19
G
19
Posts: 1,919
Reputation: 16,910


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 0 guests