great tutorial!! Just one questions, in my code, the shape disapear into the bounds of the gamearea if you rotate it been near the edges. The shape is in this position (L) and it reachs the rigth edge, then I rotate it and (indexOutOfBoundsException) I do not see that happening to your code. Did I mis something?
Thanks for your comment! That issue will be fixed in another video but if you want to fix it now check out the link below ruclips.net/video/_jnccg1q65M/видео.html
But in this step we stil have an issue. If we try to rotate block with 2 columns and 3 rows near the right edge, we will have ArrayIndexOutOfBoundsException. Maybe in next videos this will be fixed)) or i`l try to fix it by myself later))
really appreciate your effort, but i have a question, i followed you in every single step but i still have a problem in the blocks falling down on each other, they still can pass each other in some places and sometimes an empty space occurred between two blocks. could you help me please? really excited to go further with the tutorial videos, but first i need to solve this issue
I had the same issue, where when blocks have already hit the bottom, they can still rotate through other blocks and overlap when the up key is pressed.
Sir ArrayOutOfBound Exception is occured when i run the program. i double check everything . everything was ok . can you explain why this happpend. it happed where we are rotating the shape. storedShapes[i][k][j]=shape[columns-k-1][j]; can you explain why it happened to my code but not yours?
Good question! KeyBindgings are newer and more flexible than KeyListeners, and even though using KeyBindings for a tetris game is a bit of an overkill, knowing how to use KeyBindings might help you in other, more complex projects.
When I move the block to the right edge of the game area, then rotate it, part of the block goes outside the game area then the game stops. Does anyone have the same problem as me? I need help with this part
this is the most fun I have ever had while watching a coding tutorial.
Wow, that visualisation in 15:30 helped a lot, I paused the vid instantly and couldn't understand what's really going on, though it was pretty clear
Thanks! Good to know it's actually helpful
@@MrMProgramming bro its showing index out of bound exception at this time. can you elaborate why?
i coded exactly same.
That repaint() clip, epic!! :D
:D
great tutorial!!
Just one questions, in my code, the shape disapear into the bounds of the gamearea if you rotate it been near the edges. The shape is in this position (L) and it reachs the rigth edge, then I rotate it and (indexOutOfBoundsException) I do not see that happening to your code. Did I mis something?
Thanks for your comment!
That issue will be fixed in another video but if you want to fix it now check out the link below
ruclips.net/video/_jnccg1q65M/видео.html
what a great tutorial !
its very good and usefull. Thanks a lot!
But in this step we stil have an issue. If we try to rotate block with 2 columns and 3 rows near the right edge, we will have ArrayIndexOutOfBoundsException. Maybe in next videos this will be fixed)) or i`l try to fix it by myself later))
same bro can you tell me how to fix that?
@@mudasarahmad1666 it should be fixed in next videos
@MrmProgramming my netbeans become irresponsive on moving the block right what could be the possible reasons??
really appreciate your effort, but i have a question, i followed you in every single step but i still have a problem in the blocks falling down on each other, they still can pass each other in some places and sometimes an empty space occurred between two blocks.
could you help me please? really excited to go further with the tutorial videos, but first i need to solve this issue
Hi! It's hard to tell what the problem is without some extra information. Would you mid uploading screenshots to our FB group?
I had the same issue, where when blocks have already hit the bottom, they can still rotate through other blocks and overlap when the up key is pressed.
Sir ArrayOutOfBound Exception is occured when i run the program. i double check everything . everything was ok . can you explain why this happpend. it happed where we are rotating the shape.
storedShapes[i][k][j]=shape[columns-k-1][j];
can you explain why it happened to my code but not yours?
why did not use KayLestener?
Good question! KeyBindgings are newer and more flexible than KeyListeners, and even though using KeyBindings for a tetris game is a bit of an overkill, knowing how to use KeyBindings might help you in other, more complex projects.
@@MrMProgramming 🆗
9:40 thrilling :))
glad you liked it! lol
When I move the block to the right edge of the game area, then rotate it, part of the block goes outside the game area then the game stops. Does anyone have the same problem as me? I need help with this part
tome su like buen hombre
9:50 😂😂😂😂