Make Tetris game from scratch with no extensions

So I am working with a partner on this and we have the same code and it works when he tests it with his computer and phone however it won't work when I test it on my computer and phone. I am wondering why this could be happening because we have the same code but it only works for one of us.

understand you are working on an iOS, is this the problem?
What's you and your partner 's phone system?Both iOS?or one android one iOS? Which one working?

We are both iOS. I am confused on how it works on one but not the other.

Are you both testing the same copied code? Did you create your code and your friend created his?

We have the same code. I started it but then had to go so I sent it to him about half way done and he finished it and sent the finished product to me and I am using that.

We have the same code but his global top left works but my global top left does not work.

show your relevant blocks and error message screenshot

It works on an old android phone that I have so I think that it is the phone that is causing the problems.


i had a problem where the tetris blocks move slightly further from the canvas. like 2 blocks are hidden beneath the canvas when going down and also left and right.

and when i try to stack them up, this error appears. the tetris blocks also seems to collide with each other as well. what do you think might be the problem?

Since the turorial have many functions into seperate procedures.
you need find our which procedure cause this error.

1 Like

TETRISV2.aia (12.1 KB)
this is my code. can you please check the block code? i rechecked my code with the tutorial multiple times but i found no error. everything i followed is the same. can you help check it because i believe you are more expert in this and i may mislooked any error.

Your problem arises here:

so something upstream from that....

1 Like

thankyou for replying, so what can i do to fix that?

image
compare this with the tutorial to find out the problem.

ohhhh i see, my mistake :sweat_smile: :joy: . thankyou so much for fixing it, i appreciate it so much! thankyou!

Thanks for sharing the aia file so I just need to move the break block right under the set block to fix the app. :slightly_smiling_face:

is there any way to make it using an image instead of color? Im a bit of a beginner myself, so I'm not sure if it's possible or not

you can following this tutorial first to understand how it works. then you can change it to imagesprite version.

the link doesn't work for me?

It's working from my side.