Why my subevents do not work as expected ?

Get help using Construct 2

Post » Wed Feb 27, 2013 3:26 am

Hello,
First of all I am glad to join the Scirra community. Now I am working on my first project: a "Pipe Mania" clone
I used Construct 2 for the last 30 days a lot, I read the entire manual and read many topics on the forum.
I love Construct 2 , BUT it's hard sometimes to understand how the events are going to behave.
For example: in my test project I use a dummy object to attatch to the in/out openings of the pipe. If the dummy objects overlaps, I know the pipe is fitted OK. In my example,at the start of layout the dummy are invisible but if the condition is true they become visible. But there is a problem: The condition supposed to trigger only in the condition "pipe IS overlapping game_board" and affect ONLY the objects selected by the condition. But instead, the dummyes from outside of the game_board are effected. Can someone explain what is the logic behind that?
How to affect only the object selected by the condition?
I use v120.2, personal licence

https://dl.dropbox.com/u/139926126/Forums/Nuclear_test09.capxCipriux2013-03-04 11:10:32
B
64
S
15
G
20
Posts: 469
Reputation: 16,027

Post » Wed Feb 27, 2013 3:57 am

http://www.4shared.com/file/RnPzXC9z/Nuclear_test09.html
At no point in your event you were testing for the collision with the board
B
83
S
21
G
15
Posts: 1,039
Reputation: 15,134

Post » Wed Feb 27, 2013 4:11 am

7Soul you are right. I put the condition for dummy object to overlap itself instead of the game board. I did not see that. Thank you
B
64
S
15
G
20
Posts: 469
Reputation: 16,027

Post » Wed Feb 27, 2013 5:22 am

No problem. One other thing, you can answer people using an @ before their name (like @7Soul) and I will get a notification saying you replied to me
B
83
S
21
G
15
Posts: 1,039
Reputation: 15,134

Post » Wed Feb 27, 2013 1:47 pm

I will do that in the future,@7Soul. Thanks
B
64
S
15
G
20
Posts: 469
Reputation: 16,027


Return to How do I....?

Who is online

Users browsing this forum: blackhornet, makkancs, TiagoCesar and 17 guests