Solid object for one sprite, but not for other sprite

Get help using Construct 2

Post » Sun Mar 30, 2014 1:03 pm

Hello!

How do I set so that one object will be solid for one sprite, but other sprite will not see it as solid?

Thanks.
B
58
S
18
G
13
Posts: 447
Reputation: 10,735

Post » Sun Mar 30, 2014 1:15 pm

you might want to explore a instance variable.. imagine "Is_Solid" and you put in the conditions that require an object to have that be 1 not 0.. or if you want to use a bool.. though i've found just using numbers works fine.

there is an "initial state" which seem like a good thing that you might be able to toggle.. or maybe you could have a duplicate object one that has solid and one that doesn't.. and when you switch, you destroy one and spawn the other..

That's what comes to mind for me. There are other ways probably that I don't know about. I'm not an expert C2 user.
B
59
S
9
G
1
Posts: 942
Reputation: 6,553

Post » Sun Mar 30, 2014 1:48 pm

Good suggestions, thanks!
B
58
S
18
G
13
Posts: 447
Reputation: 10,735


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 29 guests