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:
rest of the code in a group:
Comments of others on this problem:
[quote]I 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?[/quote]
[quote]May be a bug with objects created/destroyed inside a loop within a group.[/quote]
[quote]I guess it is a bug[/quote]
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)