LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tetris in Labview

Could you save that as a 7.0 format. Thanks.
 
0 Kudos
Message 21 of 59
(7,460 Views)
hi sheldon, there is a tetris game that I made, you should look at it here is a link.
http://www.Culverson.com/Public/Tetris.zip
the reason that your tetris was lagging is that your pictures were either to big or to small and labview had to squish it every time a piece moved.
0 Kudos
Message 22 of 59
(8,235 Views)

That's a good idea with the intensity graph, I tried to make the application as modular as possible, so that the board and board draw routine can be scooped out and a new one put in it's place. 

I've been learning Cocoa on the Mac these days.  (it's NeXTStep evolved a bit)  I haven't been this excited about a programming language (it's really a framework for objective-c) since LabView.  Imagine doing graphical apps with very little coding and very quick setup.  I can put up a hello world app with buttons in roughly the same time as labview.  No sub-classing, and a great interface builder.  The really cool part is that GNUstep allows Cocoa apps to run on a variety of unix-like platforms with very little application mods. 

 

Sheldon

Technical geek, engineer, research scientist, biodegradable...
0 Kudos
Message 23 of 59
(7,435 Views)
Sheldon,
 
I made a quick draft using a 2D array of color boxes for the display (LabVIEW 7.1). This is what I had in mind in my earlier post.
 
 
 

Message Edited by altenbach on 09-14-2005 12:02 PM

Download All
Message 24 of 59
(7,417 Views)
Altenbach-
 
Very nice, much nicer than drawing to a picture indicator.
 
Sheldon
Technical geek, engineer, research scientist, biodegradable...
Message 25 of 59
(7,409 Views)

"much nicer than drawing to a picture indicator."

 

Please do not give up on the picture cotrol so quickly!

 

Here is a rev of your posting that illustrates using an action engine to cache the static images and just update the moving stuff. See tetris2 (in LV7.1)

 

It also features that 3-d look.

 

What do you think? Still gonna give up on the picture control?

 

Ben

 

PS I'd love to see the dog version in an intensity graph.

Message Edited by Ben on 09-14-2005 09:36 PM

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 26 of 59
(7,377 Views)
Hey Ben,




My apprentice (code named "Vivi", above) has posted his version of Tetris:
Tetris.zip



His first publicly-released program. Has multiple levels, preferences for key assignments and colors. He would like your honest comments.

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 27 of 59
(7,349 Views)

Very nice Altenbach!

😄

 

Costal,

Wow... you recruit your people at a young age..  Probably a good strategy 😉

That's a nice training project.  Good work guys!

😄

Message Edited by JoeLabView on 09-15-2005 07:44 AM

Message 28 of 59
(7,348 Views)

Hi Coastal and vivi,

That is a very very impresive first public release!

I will comment more latter if possible. There is simply to much in that example for me to do it justice this AM.

 

vivi,

Please give me an idea of what you want me to comment on and what you do not. Otherwise I will put your code through the same ringer I put my trainees through. WARNING: I can be very anal retentive when it comes to code reviews Smiley Very Happy

 

Ben 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 29 of 59
(7,343 Views)
Sorry about that, here it is in 7.0 format.
0 Kudos
Message 30 of 59
(7,335 Views)