need some help on where to start >_<
Hi, I need some help guys, School is about to start and i have a vb6 project that our class will start on Monday when school opens. We were told to pick a game to recreate in Vb. Well i decided to go with concentration but i dont know where to start =\. I spent the last hour and half trying to figure out way to start the thing but i havent been able to figure out anything.
The hardest this is that i dont know how i would make it work so that if 2 of the same pictures are picked make them remain on the screen....well thats pretty much the whole game but...lol . Ya so can you guys help me out on how to make it so that when a picture on the screen is clicked it becomes visible, and if another pic that is clicked that has the same name(is it possible to match with names idk?) also becomes visible and both the pictures remain on the screen.
Sorry if this is confusing, its late and i am really tired from all the thinking :sick:Thanks to anyone who helps out =)
Re: need some help on where to start >_<
Well I would suggest having the back of the cards as the background of the form. Then have the pictures on top but make them invisible. Then when clicking on it, it becomes visible. Have a unique identifier for each card and then when two are clicked it checks to see if the identifier is the same, and if so leave both cards visible, else set their visible property to false.
Thats all the help I can give really seeing as it is a school project. (I wish i got your one... Ours was much more boring. We had to do a weight loss clinics database.....)
Edit: Just noticed your other post. Try not to double post.
Re: need some help on where to start >_<
Actually, in concentration, you don't leave them visible, you get rid of them. Sure, leave them visible for a second or two, play a little song, have a little dance, but then get rid of them. It seems to me that you'd want an array of pictureboxes with the back image as the default, the card image (could be any picture, really, not just cards, in fact cards would be boring...show body parts, some of them could be humerus....sorry, couldn't resist) would be swapped in when the person clicked on a card. When two cards had been clicked, then either you have a match, or you don't. Either way, when the second card is shown, start a timer with an interval of 2000 or so, and when it runs down, either remove the images (if they got it), or return the back image (they didn't get it). The interval could be set longer for success, a label could show something, some animation could run, whatever.