[r93] Overlapping bug?

Bugs will be moved here once resolved.

Post » Thu Jun 07, 2012 8:01 am

Not sure if it's a bug:
Add 2 objects, make an event:
Obj1 is not overlapping Obj2 -> Destroy Obj1, destroy Obj2

It only destroy Obj1.

Example: capxhylists2012-06-07 08:01:56
B
19
S
5
Posts: 51
Reputation: 1,883

Post » Thu Jun 07, 2012 11:36 am

I don't think this is a bug, because the 'is not overlapping' condition cannot possibly pick an object2, so it probably doesn't.
Add a 'for each object2' in a subevent and 'destroy object 2' can go in that subevent.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Thu Jun 07, 2012 8:36 pm

I did notice a bug with the overlap since upgrading to R93. In R92 I had two events. One event was when the player was overlapping a roof object, it would set the opacity to 0. The second event being if the player was not overlapping a roof object, the opacity is 100. This worked perfectly fine. In R93, if the player moves under a roof object, the opacity gets set to 0 just fine, but then when the player moves out from under the roof object, the opacity remains 0 and does not go back to 100.
B
19
S
6
G
5
Posts: 98
Reputation: 4,484

Post » Fri Jun 08, 2012 3:32 am

Yeah, that's similiar to my problem. But i produced it the wrong way :P
B
19
S
5
Posts: 51
Reputation: 1,883

Post » Fri Jun 08, 2012 4:48 pm

You're right, the way negated overlap conditions work changed in r93. It ought to leave all 'redkey' instances picked and so destroy them. I've fixed it for the next build, it should work then.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests