Any new version?
When I'm playing using the mouse, some block are going over on other blocks.

CommentFileSizeAuthor
#1 Clipboard01.jpg29.19 KBkenorb

Comments

kenorb’s picture

StatusFileSize
new29.19 KB

Example from your website, there are only two block, using the mouse with fast movement you can override other blocks.
It's cheating:)
This bug was in original game as well?

skinhat’s picture

I sometimes saw this error but couldnt reproduce it. From what I saw it isn't just because the pieces are moving fast.

If you can reproduce it are you able to write the steps I can follow to make it happen?

kenorb’s picture

Just try to move one block from one side to another very quickly using mouse (where is the second block) and you should see the problem.

skinhat’s picture

I see what you mean. Seems to be a bug when you use the mouse. I've usually tested it with the keyboard.

The bug seems to occur with the keyboard too. With the keyboard it seems to be when you rotate the block while its in a small space it wedges itself in. Eg if you were to have a 4x1 piece moving down into this 1x6 sized slot and then rotate it (so that its horizontal) while it is moving into the slot then it will be wedge itself in there.

o oo
o oo
o oo
o oo
o oo
o oo

I will have to change the code so you cannot rotate when you are within a slot.

I'll also look at the mouse error. Might need to slow the speed at which you can move pieces around.

skinhat’s picture

I've done a new release which I hope has fixed the problem.

kenorb’s picture

There are some Javascript errors now:

tetris_piece[tetris_number_piece] is undefined
mover_piece(456, 0)8400dd18....jsmin.js (line 731)
tetris_mousemove(mousemove clientX=712, clientY=582)8400dd18....jsmin.js (line 854)
[Break on this error] var ha_tocado_fondo=false;if(position_y>...tris_panel_height;ha_tocado_fondo=true;}
tetris_piece[map_matrix[x]] is undefined
tetris_show_map(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,7,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,X7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,X7,X7,X7 0=0 1=0 2=0 3=0 4=0 5=0 6=0 7=0 8=0 9=0 10=0 11=0 12=0 13=0, [])8400dd18....jsmin.js (line 715)
(?)()8400dd18....jsmin.js (line 725)
[Break on this error] else if(map_matrix[x]!=0){color_panel=te...nel=tetris_piece[map_matrix[x]]["img"];}

But I need to re-test it later, because I've got some problems with paths.

skinhat’s picture

I can't reproduce this error. Did you hit refresh in the browser? Sometimes tetris.js is cached and you might be using the old version.

kenorb’s picture

Ok, I found it, I've moved games to different folder and I didn't know where there is some old path stored (after cleared the cache, etc.).
And it's in each game configuration form. I'll set correct path for all games, and I'll retest it.

kenorb’s picture

I think the problem still exist.
But it's not something important for me.

kenorb’s picture

Status: Active » Closed (cannot reproduce)