Need help with groups of blocks all being destroyed

0 favourites
  • 2 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • Maybe R0J0hound can help

    I am making a survival game, with buildings and i want them to be destructable. I am wondering how I would group together blocks, and then when a peice of that group is disconnected from the rest of the worlds blocks, all associated blocks are destroyed

    example:

    ------------------------------------------------------

    OOOOO

    OOOOO

    O

    OOOOOOOO

    -this is before disconnection

    -------------------------------------------------------

    OOOOO

    OOOOO

    OOOOOOOO

    -the connecting block is destroyed

    ------------------------------------------------------

    OOOOOOOO

    -the all disconnected blocks are destroyed

    ------------------------------------------------------

    I really need help. I've spent the last two days trying to figure this out. I would really like a really in depth explanation, or maybe even a capx, Any help is appreciated. Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • bump

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