Objects destroyed inside loop within a group

0 favourites
  • 5 posts
From the Asset Store
SynthWave Loop Pack includes 68 seamless loops, founded on 11 original melodies.
  • 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.

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

  • Try Construct 3

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

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