Questions about the solid behavior

Get help using Construct 2

Post » Wed Apr 03, 2013 4:51 pm

Solid behavior works alright between different objects. But what about between instances of the same object? Is there a way to do this? I have spent months in figuring out a way. The bounce off objects option in the bullet behavior doesn't look good. They look glitchy in my opinion. Help please? I don't think capx files are needed here.
B
5
Posts: 14
Reputation: 528

Post » Wed Apr 03, 2013 5:41 pm

They are still solid and won't go through each other. Why didn't you check it by your own how they behave?
HARMLESS SIGNATURE THAT IS VIEWED BY OTHERS AS OFFENSIVE AND CONTROVERSIAL
B
14
S
3
G
3
Posts: 356
Reputation: 4,362

Post » Wed Apr 03, 2013 5:53 pm

Well they dont apparently. You can try it yourself. The player, treats the NPC as a solid object, because they are two different objects. But the NPC passes through another NPC. (they are instances of the same object)
B
5
Posts: 14
Reputation: 528

Post » Wed Apr 03, 2013 6:19 pm

Anyone please?
B
5
Posts: 14
Reputation: 528

Post » Wed Apr 03, 2013 7:01 pm

Bumping your own posts won't get good responses, you need to wait till someone who has the time out of their own day and tasks has the time to take a look.
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,418

Post » Wed Apr 03, 2013 7:12 pm

Sorry man. Wont do again.
B
5
Posts: 14
Reputation: 528

Post » Wed Apr 03, 2013 8:40 pm

well , what do you use to move your NPCS ?
B
34
S
16
G
16
Posts: 2,222
Reputation: 16,564

Post » Thu Apr 04, 2013 1:48 am

The Bullet behavior. What would you do if you're making a top down game?
B
5
Posts: 14
Reputation: 528

Post » Thu Apr 04, 2013 1:50 am

Oh , I see ... The Collisions aren't supported by the bullet behavior ...

Add "Solid" to the NPC behavior list ...
B
34
S
16
G
16
Posts: 2,222
Reputation: 16,564

Post » Thu Apr 04, 2013 1:56 am

Haven't done this myself but if bullet behavior nullifies solid behaviour, you might want to consider a standard movement method and mimic the bullet behaviour in your events. If you just want them to go towards a straight line you can use linear algebra to set their positions.
B
19
S
6
G
1
Posts: 116
Reputation: 2,730

Next

Return to How do I....?

Who is online

Users browsing this forum: kingpirux, Yahoo [Bot] and 6 guests