Collision between sprites and particles

Bugs will be moved here once resolved.

Post » Tue Jan 28, 2014 1:25 pm

Link to .capx file (required! If link is blocked remove the http and www parts):
https://dl.dropboxusercontent.com/u/11564312/particle%20test.capx

Steps to reproduce:
1. Run the .capx in r152
2. Run the .capx in r158


Observed result:
in r152, the big squares (sprites) both check for collision (1) and for overlapping (2). In r158, neither is checked for.

Expected result:
I know particle collision with sprites isn't a supported feature, but it did work up to r158. I'd like to point out too that in order to do this, the events must be done taking the Sprite as the active part, as when choosing a Particle as the active one, the collision and overlapping condition isn't available.

Browsers affected:
Chrome: yes
Firefox: not tried
Internet Explorer: not tried

Operating system & service pack:
windows 7, but don't think it's relevant

Construct 2 version:
r152 and r158
    
B
9
S
4
G
2
Posts: 12
Reputation: 2,772

Post » Tue Jan 28, 2014 3:16 pm

Most likely this will be closed as a "not a bug".

There was some discussion of this earlier this month and IMHO (I'm not related to Scirra)it's better this way. Having every particle causing collisions can become a real big performance hit.

I have not seen C2 internals, but I'd expect the particles to be rendered separately from regular sprites, perhaps even on different engine?

Need help? Upload .capx file with your question.
B
16
S
4
G
2
Posts: 233
Reputation: 2,560

Post » Tue Jan 28, 2014 3:39 pm

I've opened this bug report just becase I was told to earlier today. I know it's not really a bug, but the truth is that my whole game depended on those collisions and since the update it has stopped working.
B
9
S
4
G
2
Posts: 12
Reputation: 2,772

Post » Wed Jan 29, 2014 4:59 pm

You're right, collision cells broke this. It used to collide at least with the bounding box of the whole particles object. Should be fixed in the next build.
Scirra Founder
B
387
S
230
G
87
Posts: 24,248
Reputation: 192,226


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests