0 Favourites

Collision between sprites and particles

  • 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

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

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • 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)
Similar Topics Posts Views Last Post
Unread hot topic
0 Favourites
Sprite Font Generator - v3
368 112,296
RetroDaddy's avatar
RetroDaddy
Unread hot topic
86 28,708
St4rDu57's avatar
St4rDu57
Unread hot topic
153 104,435
DravenX's avatar
DravenX