Objects destroyed inside loop within a group

0 favourites
  • 5 posts
From the Asset Store
94 Inside buildings views - Isometric view - PNG transparent - 2048x2048
  • Hey,

    I got a little bug.

    I tried to implement a life bar.

    Everything works just fine, but if I put the whole events into a group, it stops working. The graphics animation does not change when the player leaves the layout. The rest of the code works, so after the 3rd time of leaving the layout, I get to the level selection screen.

    Global variables at top:

    <img src="http://s7.directupload.net/images/121227/vtad3j4z.png" border="0" />

    rest of the code in a group:

    <img src="http://s7.directupload.net/images/121227/pu28c9pe.png" border="0" />

    Comments of others on this problem:

    have no idea why that's not working. Tried it myself and I get the same result. The manual doesn't really cover events in groups like it does families and containers.

    Maybe the manual could get a more detailed description of what changes when events are in a group when Ashley has the time?

    ay be a bug with objects created/destroyed inside a loop within a group.

    guess it is a bug

    It seems like there is a bug when Objects are created/destroyed inside a loop within a group.

    Browser: Chrome (doesn't play any role at this bug)

    Capx: dl.dropbox.com/u/96203257/Lifebar.capx

    Best regards,

    Astrosus.

  • Please see how to report bugs, screenshots are nice, (simple) capx is better.

    The thread you're referring to is this one.

  • Added capx. System specs and browser does not play a role in this case.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Simple capx:

    createLoopGroup.capx (r114) Objects created in loop can't be picked in next event.

    Strangely enough if you add a blank event between 3 and 4 it works.

    Put a blank event after event 2 in Astrosus's capx and it works.

  • There was an issue with creating objects in loops in groups - should be fixed in the next build.

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