How do I act upon the relations of stationary objects?

Get help using Construct 2

Post » Wed Jul 30, 2014 11:44 pm

What should happen is after a set interval, blue blocks spawn out of grey blocks touching either the red block or other blue blocks. (You'll see what I mean in the events tab.) However, for some reason, this isn't working. The only block that ever changes is the lower right block adjacent to the red one. Then it stops. I've tried setting it to colliding and overlapping but neither have worked.

Perhaps I've overlooked something blatantly obvious, but as far as I know that isn't the case. There almost needs to be an "if touching" condition.

Thanks for the help.
Last edited by Aphos on Thu Jul 31, 2014 1:41 am, edited 1 time in total.
B
7
S
2
G
1
Posts: 7
Reputation: 562

Post » Thu Jul 31, 2014 1:03 am

I'm probably missing something, but how can any collisions ever happen when there's only one sprite on the layout?

Edit: oh wow I thought it was a tiled background :oops:
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Thu Jul 31, 2014 1:08 am

codah wrote:I'm probably missing something, but how can any collisions ever happen when there's only one sprite on the layout?

Edit: oh wow I thought it was a tiled background :oops:


Haha, easy mistake. But do you see what I mean? They're all touching so they should be colliding just fine. It doesn't make sense to me.
B
7
S
2
G
1
Posts: 7
Reputation: 562

Post » Thu Jul 31, 2014 1:28 am

Image

i think this made it work?
B
6
S
1
Posts: 51
Reputation: 502

Post » Thu Jul 31, 2014 1:30 am

trultz wrote:Image

i think this made it work?


Could you upload the capx please? :)

-Edit-
Never mind, it works great. Thanks for the help mate :)
B
7
S
2
G
1
Posts: 7
Reputation: 562

Post » Thu Jul 31, 2014 2:04 am

Ha. I had to leave, good you have a solution.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 34 guests