Tetris game help

Get help using Construct 2

Post » Wed Sep 10, 2014 10:13 am

hello
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?
thanks
B
24
S
4
G
2
Posts: 45
Reputation: 2,403

Post » Wed Sep 10, 2014 5:04 pm

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:
Image
To this:
Image
B
92
S
32
G
110
Posts: 5,295
Reputation: 71,501

Post » Wed Sep 10, 2014 9:12 pm

@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 :(
B
24
S
4
G
2
Posts: 45
Reputation: 2,403

Post » Wed Sep 10, 2014 10:03 pm

I thought saying Game Over was the end.
B
92
S
32
G
110
Posts: 5,295
Reputation: 71,501

Post » Thu Sep 11, 2014 7:16 am

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.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,420
Reputation: 59,526

Post » Fri Sep 12, 2014 8:52 am

@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
http://youtu.be/XeAEwRq443w
B
24
S
4
G
2
Posts: 45
Reputation: 2,403

Post » Fri Sep 12, 2014 9:45 am

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.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,420
Reputation: 59,526

Post » Fri Sep 12, 2014 9:48 am

sorry just attached a video capture of the effect,
thanks anyway...
B
24
S
4
G
2
Posts: 45
Reputation: 2,403

Post » Fri Sep 12, 2014 11:01 am

ROJO demo works fine. we do not have time to go on youtube.
B
252
S
39
G
15
Posts: 1,964
Reputation: 40,753

Post » Fri Sep 12, 2014 11:34 am

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.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
292
S
115
G
96
Posts: 7,295
Reputation: 70,795

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 33 guests