hi everyone, well I'm been working in a game like arkanoid, every works well except for one thing. when the ball destroy all the block go to the next layout, ok. first I created a global variable(blocks) and a condition:
Star of Layout
----------------->+ System: For each Sprite5
+ System: Trigger once
-> System: Add 1 to global variable 'bloques'
and works, but here is the problem, when the ball collides with two or more blocks at the same time just count 1 in the global variable. so the next condition is not satisfied:
+ System: Is global variable 'bloques' Equal to 0
-> Wait: Delay 500 ms
-> System: Go to layout 2 with transition "None" lasting 0 MS
how to solve this little problem or what condition I can use for when the ball destroy all the block go to the next layout. thanks in advance.
here you are the .cap http://www.box.net/shared/8s69oi3yyh