LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tetris in LabView problem with move blocks

Hello.

I try to make Tetris in LabView.  I have problem with stop blocks on the last field and move blocks left and right.

Does anyone have an idea how to solve it?

0 Kudos
Message 1 of 4
(1,564 Views)

Well, first look at the all the posts here.

 

Now you need some kind of collision and boundary detection. You'll figure it out. 😄


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
Message 2 of 4
(1,528 Views)

Another tip, make it such that the occupied elements are FALSE and the available elements TRUE (you can change the T/F colors to get the desired visual). This way you can deal with out of bounds more easily, because indexing an element outside the valid range returns false and indicats that you can't go there.


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
Message 3 of 4
(1,515 Views)
0 Kudos
Message 4 of 4
(1,483 Views)