取消
显示结果 
搜索替代 
您的意思是: 

Tetris in Labview

Could you save that as a 7.0 format. Thanks.
 
0 项奖励
21 条消息(共 59 条)
8,439 次查看
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 项奖励
22 条消息(共 59 条)
9,214 次查看

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 项奖励
23 条消息(共 59 条)
8,414 次查看
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

24 条消息(共 59 条)
8,396 次查看
Altenbach-
 
Very nice, much nicer than drawing to a picture indicator.
 
Sheldon
Technical geek, engineer, research scientist, biodegradable...
25 条消息(共 59 条)
8,388 次查看

"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
26 条消息(共 59 条)
8,356 次查看
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 项奖励
27 条消息(共 59 条)
8,328 次查看

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

28 条消息(共 59 条)
8,327 次查看

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 极度高兴的表情

 

Ben 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
29 条消息(共 59 条)
8,322 次查看
Sorry about that, here it is in 7.0 format.
0 项奖励
30 条消息(共 59 条)
8,314 次查看