i've been checking tetris game of R0J0hound http://www.scirra.com/arcade/puzzle/1259/tetris
but the capx doesnt seem to have a gam over, it plays indefinitely
anybody can help in this?
Develop games in your browser. Powerful, performant & highly capable.
It's the same reason all the pieces are all red. The "Pick all" condition doesn't pick objects that were created on that frame. This was a change that occurred a long time ago. Events 22-24 need reworking to fix it.
Change it from this:
R0J0hound thank you
i tried the above, colors now are showing but before the piece takes its place, it stays flashing, and i get the game over displayed in the right side, but the game doesnt really end.
i dont know what i am doing wrong
I thought saying Game Over was the end.
Works as R0j0 has suggested. Game Over is displayed and no more pieces are created.
You can then add your own end screen as required.
zenox98 right , i added my own touch , thanks
but look at the flashy effect i am getting , i dont know why, and also next piece doesnt seem to work for me, i am using latest beta 179
Sorry. I have no interest in watching youtube.
If you have a problem, it is much easier for other users to help if you simply attach a .capx to your post.
sorry just attached a video capture of the effect,
ROJO demo works fine. we do not have time to go on youtube.
Your issue comes from the fact that when you modified the code according to R0j0's suggestion you did not make event 23 and 25 subevents from the newly added "On every tick" event (22).
When having issue prefer to attach your capx rather than a video, it makes it easier for everybody to check out the issue and possibly fix it.
Kyatric thank you
your answer solved my problem of flashing colors and next piece
but i have created another bug spaces are showing between blocks