BrokenArrow Posted August 6, 2008 Report Share Posted August 6, 2008 Attached is a "match game" I put together. The pictures are based on Yu-Gi-Oh cards. The Interesting Part: Because the pictures are reasonably complex, and most adults don't play Yu-Gi-Oh, it generally takes adults LONGER than Yu-Gh-Oh-exposed children 7..9 to finish the game, at least in my testing. You'll need... Match Game.vi ( it's big because of all the pictures... 1.5MB?) Bool Array Changed.vi Search Boolean Array Until Done.vi I'd appreciate it if anyone using XP can tell me if the arrays look ok, and if the button array lines up OK with the picture ring array underneath. This may be used in a psychology department, and I have no idea what they might have. Maybe even WIN2K. Richard ********** EDIT: Later in this post is a LLB (in 8.2) rather than the three separate VI's.*************** Quote Link to comment
azoutkast Posted August 6, 2008 Report Share Posted August 6, 2008 QUOTE (BrokenArrow @ Aug 5 2008, 01:18 PM) Attached is a "match game" I put together. The pictures are based on Yu-Gi-Oh cards. The Interesting Part: Because the pictures are reasonably complex, and most adults don't play Yu-Gi-Oh, it generally takes adults LONGER than Yu-Gh-Oh-exposed children 7..9 to finish the game, at least in my testing. You'll need... Match Game.vi ( it's big because of all the pictures... 1.5MB?) Bool Array Changed.vi Search Boolean Array Until Done.vi I'd appreciate it if anyone using XP can tell me if the arrays look ok, and if the button array lines up OK with the picture ring array underneath. This may be used in a psychology department, and I have no idea what they might have. Maybe even WIN2K. Richard Richard, Everything looked ok on my XP system. :thumbup: Quote Link to comment
BrokenArrow Posted August 7, 2008 Author Report Share Posted August 7, 2008 QUOTE (azoutkast @ Aug 5 2008, 05:01 PM) Everything looked ok on my XP system. :thumbup: Thanks for looking into it! :thumbup: :thumbup: ... welcome to LAVA! Quote Link to comment
Yair Posted August 7, 2008 Report Share Posted August 7, 2008 Looks fine here too on XP. Since you don't have any fonts, there shouldn't really be an OS issue. If you want to make the VI smaller (and have the possibility for having dynamic sets of images, etc.), you can replace the picture ring with a picture control and remember the values by index (if you don't want to change your current code much). You can either make the pictures fit the size of the square or use some code to change their size at run time. Here's one example. Quote Link to comment
BrokenArrow Posted August 7, 2008 Author Report Share Posted August 7, 2008 QUOTE (Yair @ Aug 6 2008, 01:56 PM) You can either make the pictures fit the size of the square or use some code to change their size at run time. http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=133902#M133902' target="_blank">Here's one example. That's exceptional! Thanks for the ideas. However, I don't think there's an easy way to A) Make the VI smaller while B) Having the pictures as an inherent part of the code, other than C) Using a more lossy format or saving the jpgs as lower quality, which could shave 50% off the size. I don't want to distribute 24 jpgs with the code! Quote Link to comment
Yair Posted August 7, 2008 Report Share Posted August 7, 2008 QUOTE (BrokenArrow @ Aug 6 2008, 09:44 PM) I don't want to distribute 24 jpgs with the code! Why not? It's should simply be a matter of creating an installer or a zipped folder. The biggest advantage is that you can then use different sets of images or randomize them more. P.S. Next time, you might wish to create a development distribution for VIs you post. Quote Link to comment
BrokenArrow Posted August 7, 2008 Author Report Share Posted August 7, 2008 QUOTE (Yair @ Aug 6 2008, 02:51 PM) Why not? <Homer Simpson> I ... don't ... know </Homer Simpson> QUOTE (Yair @ Aug 6 2008, 02:51 PM) P.S. Next time, you might wish to create a development distribution for VIs you post. Whach you talkin' 'bout Willis? __ __Do you mean a llb? Quote Link to comment
Yair Posted August 8, 2008 Report Share Posted August 8, 2008 QUOTE (BrokenArrow @ Aug 7 2008, 12:37 AM) Do you mean a llb? Yes. Quote Link to comment
Gabi1 Posted August 8, 2008 Report Share Posted August 8, 2008 any chanceyou could save for LV8.2? Thanks! Quote Link to comment
BrokenArrow Posted August 8, 2008 Author Report Share Posted August 8, 2008 QUOTE (Gabi1 @ Aug 7 2008, 03:12 PM) any chanceyou could save for LV8.2?Thanks! Anything for a Futurama Fan (I have no date, a two-liter bottle of Shasta and my all-Rush mix tape).... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.