I am trying to create the effect where a tetris like shaped object falls and when it comes in contact with a block, it PUSHES is down together, until it touches the third block, by where it stops pushing and starts to fade.
I use the on collision to pin the blocks to the tetris objects and add to my variable. So once the variable reaches 3, it stops the movement, unpins the blocks and fades the tetris like object.
The problem is I am not getting consistent results....or perhaps consistent inconsistent results actually. Object type 2 works perfectly, but object type 1 consistently doesn't work. I am really confused with this. I do hope someone is able to take a look and help me out with this. In my capx, I am using families.
Develop games in your browser. Powerful, performant & highly capable.