Collision between sprites and particles

0 favourites
  • 4 posts
From the Asset Store
Particles support animations, collisions, effects and etc.
  • Link to .capx file (required! If link is blocked remove the http and www parts):

    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

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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?

  • 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.

  • 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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)